wayland: set the current serial on touch down/up notifications
Do just like pointer button events, and do not bump the serial, so serials match on window drag/move requests triggered from touch events. https://bugzilla.gnome.org/show_bug.cgi?id=733631
This commit is contained in:
parent
38e4906f72
commit
fbea59b326
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ meta_wayland_touch_update (MetaWaylandTouch *touch,
|
|||
struct wl_client *client = wl_resource_get_client (surface->resource);
|
||||
struct wl_display *display = wl_client_get_display (client);
|
||||
|
||||
touch_info->slot_serial = wl_display_next_serial (display);
|
||||
touch_info->slot_serial = wl_display_get_serial (display);
|
||||
}
|
||||
|
||||
touch_get_relative_coordinates (touch, touch_info->touch_surface->surface,
|
||||
|
|
Loading…
Reference in a new issue