wayland: implement xdg-activation
This commit is contained in:
parent
0628a9d393
commit
41d7531cd5
26 changed files with 667 additions and 50 deletions
28
wire/xdg_activation_token_v1.txt
Normal file
28
wire/xdg_activation_token_v1.txt
Normal 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,
|
||||
}
|
||||
14
wire/xdg_activation_v1.txt
Normal file
14
wire/xdg_activation_v1.txt
Normal 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),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue