diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2020-07-09 18:34:43 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2020-08-13 14:45:10 +0200 |
commit | 28cb0251905d9a10359760a1b8c0e0b53b6c0900 (patch) | |
tree | 107c039123965c776df8293124047da16a33ba01 /clutter/clutter/clutter-main.c | |
parent | c7429e8aad0dd350d19e4249779fbee2f03c60b4 (diff) | |
download | mutter-28cb0251905d9a10359760a1b8c0e0b53b6c0900.tar.gz |
clutter: Remove DELETE event, signal and vfunc
The delete event was used for signalling the close button was clicked on
clutter windows. Being a compositor we should never see these, unless
we're running nested. Remove the plumbing of the DELETE event and just
directly call meta_quit() when we see it, if we're running nested.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1364
Diffstat (limited to 'clutter/clutter/clutter-main.c')
-rw-r--r-- | clutter/clutter/clutter-main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c index a5fcf8497..2e260244d 100644 --- a/clutter/clutter/clutter-main.c +++ b/clutter/clutter/clutter-main.c @@ -1760,7 +1760,6 @@ _clutter_process_event_details (ClutterActor *stage, break; case CLUTTER_DESTROY_NOTIFY: - case CLUTTER_DELETE: event->any.source = stage; if (_clutter_event_process_filters (event)) |