1
0
Fork 0
forked from wry/wry

wayland: implement xdg-activation

This commit is contained in:
Julian Orth 2024-02-14 17:42:59 +01:00
parent 0628a9d393
commit 41d7531cd5
26 changed files with 667 additions and 50 deletions

View file

@ -0,0 +1,28 @@
# requests
msg set_serial = 0 {
serial: u32,
seat: id(wl_seat),
}
msg set_app_id = 1 {
app_id: str,
}
msg set_surface = 2 {
surface: id(wl_surface),
}
msg commit = 3 {
}
msg destroy = 4 {
}
# events
msg done = 0 {
token: str,
}

View file

@ -0,0 +1,14 @@
# requests
msg destroy = 0 {
}
msg get_activation_token = 1 {
id: id(xdg_activation_token_v1),
}
msg activate = 2 {
token: str,
surface: id(wl_surface),
}