mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-03 09:01:42 -05:00
Rename motion_grab to implicit_grab
Let's just use the same terms as X.
This commit is contained in:
parent
468c9bd9e7
commit
34b26802d7
2 changed files with 2 additions and 2 deletions
|
|
@ -503,7 +503,7 @@ wl_input_device_update_grab(struct wl_input_device *device,
|
|||
struct wl_grab *grab,
|
||||
struct wl_surface *surface, uint32_t time)
|
||||
{
|
||||
if (device->grab != &device->motion_grab ||
|
||||
if (device->grab != &device->implicit_grab ||
|
||||
device->grab_time != time ||
|
||||
device->pointer_focus != surface)
|
||||
return -1;
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ struct wl_input_device {
|
|||
|
||||
int32_t x, y;
|
||||
struct wl_grab *grab;
|
||||
struct wl_grab motion_grab;
|
||||
struct wl_grab implicit_grab;
|
||||
uint32_t grab_time;
|
||||
int32_t grab_x, grab_y;
|
||||
uint32_t grab_button;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue