wayland: implement wlr-data-control
This commit is contained in:
parent
8bca8b0e86
commit
99be020c19
18 changed files with 985 additions and 33 deletions
30
wire/zwlr_data_control_device_v1.txt
Normal file
30
wire/zwlr_data_control_device_v1.txt
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# requests
|
||||
|
||||
msg set_selection = 0 {
|
||||
source: id(zwlr_data_control_source_v1),
|
||||
}
|
||||
|
||||
msg destroy = 1 {
|
||||
|
||||
}
|
||||
|
||||
msg set_primary_selection = 2 {
|
||||
source: id(zwlr_data_control_source_v1),
|
||||
}
|
||||
|
||||
# events
|
||||
|
||||
msg data_offer = 0 {
|
||||
id: id(zwlr_data_control_offer_v1),
|
||||
}
|
||||
|
||||
msg selection = 1 {
|
||||
id: id(zwlr_data_control_offer_v1),
|
||||
}
|
||||
|
||||
msg finished = 2 {
|
||||
}
|
||||
|
||||
msg primary_selection = 3 {
|
||||
id: id(zwlr_data_control_offer_v1),
|
||||
}
|
||||
14
wire/zwlr_data_control_manager_v1.txt
Normal file
14
wire/zwlr_data_control_manager_v1.txt
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# requests
|
||||
|
||||
msg create_data_source = 0 {
|
||||
id: id(zwlr_data_control_source_v1),
|
||||
}
|
||||
|
||||
msg get_data_device = 1 {
|
||||
id: id(zwlr_data_control_device_v1),
|
||||
seat: id(wl_seat),
|
||||
}
|
||||
|
||||
msg destroy = 2 {
|
||||
|
||||
}
|
||||
16
wire/zwlr_data_control_offer_v1.txt
Normal file
16
wire/zwlr_data_control_offer_v1.txt
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# requests
|
||||
|
||||
msg receive = 0 {
|
||||
mime_type: str,
|
||||
fd: fd,
|
||||
}
|
||||
|
||||
msg destroy = 1 {
|
||||
|
||||
}
|
||||
|
||||
# events
|
||||
|
||||
msg offer = 0 {
|
||||
mime_type: str,
|
||||
}
|
||||
20
wire/zwlr_data_control_source_v1.txt
Normal file
20
wire/zwlr_data_control_source_v1.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# requests
|
||||
|
||||
msg offer = 0 {
|
||||
mime_type: str,
|
||||
}
|
||||
|
||||
msg destroy = 1 {
|
||||
|
||||
}
|
||||
|
||||
# events
|
||||
|
||||
msg send = 0 {
|
||||
mime_type: str,
|
||||
fd: fd,
|
||||
}
|
||||
|
||||
msg cancelled = 1 {
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue