1
0
Fork 0
forked from wry/wry

autocommit 2022-04-28 19:49:51 CEST

This commit is contained in:
Julian Orth 2022-04-28 19:49:51 +02:00
parent bd63f3f5f1
commit 1242a6c1e1
31 changed files with 707 additions and 64 deletions

View file

@ -0,0 +1,51 @@
# requests
msg copy = 0 {
buffer: id(wl_buffer),
}
msg destroy = 1 {
}
msg copy_with_damage = 2 {
buffer: id(wl_buffer),
}
# events
msg buffer = 0 {
format: u32,
width: u32,
height: u32,
stride: u32,
}
msg flags = 1 {
flags: u32,
}
msg ready = 2 {
tv_sec_hi: u32,
tv_sec_lo: u32,
tv_nsec: u32,
}
msg failed = 3 {
}
msg damage = 4 {
x: u32,
y: u32,
width: u32,
height: u32,
}
msg linux_dmabuf = 5 {
format: u32,
width: u32,
height: u32,
}
msg buffer_done = 6 {
}

View file

@ -0,0 +1,20 @@
# requests
msg capture_output = 0 {
frame: id(zwlr_screencopy_frame_v1),
overlay_cursor: i32,
output: id(wl_output),
}
msg capture_output_region = 1 {
frame: id(zwlr_screencopy_frame_v1),
overlay_cursor: i32,
output: id(wl_output),
x: i32,
y: i32,
width: i32,
height: i32,
}
msg destroy = 2 {
}