backends: Do not use clutter_event_[set|is]_pointer_emulated()
Add a new ClutterEventFlag to propagate this information, affecting a few selected events on each backend. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3153>
This commit is contained in:
@ -138,7 +138,7 @@ sequence_is_pointer_emulated (MetaDisplay *display,
|
||||
if (!sequence)
|
||||
return FALSE;
|
||||
|
||||
if (clutter_event_is_pointer_emulated (event))
|
||||
if (clutter_event_get_flags (event) & CLUTTER_EVENT_FLAG_POINTER_EMULATED)
|
||||
return TRUE;
|
||||
|
||||
#ifdef HAVE_NATIVE_BACKEND
|
||||
|
Reference in New Issue
Block a user