wayland: implement xdg-toplevel-drag
This commit is contained in:
parent
e665a18242
commit
364872258a
21 changed files with 535 additions and 70 deletions
10
wire/xdg_toplevel_drag_manager_v1.txt
Normal file
10
wire/xdg_toplevel_drag_manager_v1.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# requests
|
||||
|
||||
msg destroy = 0 {
|
||||
|
||||
}
|
||||
|
||||
msg get_xdg_toplevel_drag = 1 {
|
||||
id: id(xdg_toplevel_drag_v1),
|
||||
data_source: id(wl_data_source),
|
||||
}
|
||||
11
wire/xdg_toplevel_drag_v1.txt
Normal file
11
wire/xdg_toplevel_drag_v1.txt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# requests
|
||||
|
||||
msg destroy = 0 {
|
||||
|
||||
}
|
||||
|
||||
msg attach = 1 {
|
||||
toplevel: id(xdg_toplevel),
|
||||
x_offset: i32,
|
||||
y_offset: i32,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue