mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-09 13:29:48 -05:00
Use grab object for motion grabs too
Now all grabs use grab objects, so drop the grab enum.
This commit is contained in:
parent
57db067cec
commit
8321e693d2
2 changed files with 54 additions and 63 deletions
|
|
@ -91,12 +91,10 @@ struct wlsc_input_device {
|
|||
|
||||
uint32_t modifier_state;
|
||||
|
||||
struct wl_grab *grab_object;
|
||||
enum wlsc_grab_type grab;
|
||||
struct wl_grab *grab;
|
||||
struct wl_grab motion_grab;
|
||||
uint32_t grab_time;
|
||||
int32_t grab_x, grab_y;
|
||||
int32_t grab_width, grab_height;
|
||||
int32_t grab_dx, grab_dy;
|
||||
uint32_t grab_button;
|
||||
struct wl_listener grab_listener;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue