1
0
Fork 0
forked from wry/wry

all: implement screen locking

This commit is contained in:
Julian Orth 2022-05-19 23:39:11 +02:00
parent 9db389835d
commit d42add4d18
24 changed files with 618 additions and 6 deletions

View file

@ -0,0 +1,8 @@
# requests
msg destroy = 0 {
}
msg lock = 1 {
id: id(ext_session_lock_v1),
}

View file

@ -0,0 +1,17 @@
# request
msg destroy = 0 {
}
msg ack_configure = 1 {
serial: u32,
}
# events
msg configure = 0 {
serial: u32,
width: u32,
height: u32,
}

View file

@ -0,0 +1,25 @@
# requests
msg destroy = 0 {
}
msg get_lock_surface = 1 {
id: id(ext_session_lock_surface_v1),
surface: id(wl_surface),
output: id(wl_output),
}
msg unlock_and_destroy = 2 {
}
# events
msg locked = 0 {
}
msg finished = 1 {
}

View file

@ -31,6 +31,10 @@ msg enable_symmetric_delete = 7 {
}
msg unlock = 8 {
}
# events
msg client_id = 0 {