mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
display: Add forgotten meta_display_cancel_touch
This commit is contained in:
parent
25b6a40ad4
commit
6c22759d29
@ -461,6 +461,18 @@ meta_set_gnome_wm_keybindings (const char *wm_keybindings)
|
||||
gnome_wm_keybindings = wm_keybindings;
|
||||
}
|
||||
|
||||
static void
|
||||
meta_display_cancel_touch (MetaDisplay *display)
|
||||
{
|
||||
MetaWaylandCompositor *compositor;
|
||||
|
||||
if (!meta_is_wayland_compositor ())
|
||||
return;
|
||||
|
||||
compositor = meta_wayland_compositor_get_default ();
|
||||
meta_wayland_touch_cancel (&compositor->seat->touch);
|
||||
}
|
||||
|
||||
static void
|
||||
gesture_tracker_state_changed (MetaGestureTracker *tracker,
|
||||
ClutterEventSequence *sequence,
|
||||
|
Loading…
Reference in New Issue
Block a user