mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-08 13:29:47 -05:00
Handle buttons in grab objects too
This commit is contained in:
parent
9c3e8d734e
commit
b3fc757cd8
2 changed files with 36 additions and 5 deletions
|
|
@ -137,6 +137,8 @@ struct wl_grab;
|
|||
struct wl_grab_interface {
|
||||
void (*motion)(struct wl_grab *grab,
|
||||
uint32_t time, int32_t x, int32_t y);
|
||||
void (*button)(struct wl_grab *grab,
|
||||
uint32_t time, int32_t button, int32_t state);
|
||||
void (*end)(struct wl_grab *grab, uint32_t time);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue