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:

committed by
Marge Bot

parent
49b3ac2f86
commit
96e320ba5a
@ -734,9 +734,10 @@ meta_stage_x11_translate_event (MetaStageX11 *stage_x11,
|
||||
g_debug ("Destroy notification received for stage, win:0x%x",
|
||||
(unsigned int) xevent->xany.window);
|
||||
|
||||
event->any.type = CLUTTER_DESTROY_NOTIFY;
|
||||
event->any.stage = stage;
|
||||
res = TRUE;
|
||||
g_return_val_if_fail (META_IS_STAGE_X11_NESTED (stage_x11),
|
||||
FALSE);
|
||||
meta_quit (META_EXIT_SUCCESS);
|
||||
res = FALSE;
|
||||
break;
|
||||
|
||||
case ClientMessage:
|
||||
|
Reference in New Issue
Block a user