clutter: Drop CLUTTER_DESTROY_NOTIFY event

Stop propagating this as a Clutter event. DestroyNotify is only
relevant on nested X11 sessions, so handle it specifically in place.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1623>
This commit is contained in:
Carlos Garnacho
2020-12-07 18:18:00 +01:00
committed by Marge Bot
parent 49b3ac2f86
commit 96e320ba5a
8 changed files with 5 additions and 34 deletions

View File

@ -110,8 +110,7 @@ handle_idletime_for_event (const ClutterEvent *event)
if (event->any.flags & CLUTTER_EVENT_FLAG_SYNTHETIC ||
event->type == CLUTTER_ENTER ||
event->type == CLUTTER_LEAVE ||
event->type == CLUTTER_STAGE_STATE ||
event->type == CLUTTER_DESTROY_NOTIFY)
event->type == CLUTTER_STAGE_STATE)
return;
core_monitor = meta_idle_monitor_get_core ();