summaryrefslogtreecommitdiff
path: root/src/compositor/compositor-private.h
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-30 15:09:05 -0400
committerraveit65 <[email protected]>2019-06-16 18:12:44 +0200
commitf424a92933a07a7135023c47bfbee8f77bb68659 (patch)
tree7b923f85799b3512b7ea26019dfa5a642a1efbc7 /src/compositor/compositor-private.h
parent01417e5675fba04549ab0f818fc83a57969b257c (diff)
downloadmarco-f424a92933a07a7135023c47bfbee8f77bb68659.tar.bz2
marco-f424a92933a07a7135023c47bfbee8f77bb68659.tar.xz
compositor: fix possible crash closing/destroying window
Partially restore call to destroy_win in compositor when calling meta_window_free. This is needed to ensure that we never call meta_window_get_frame_bounds while windows is destroying. https://bugzilla.gnome.org/show_bug.cgi?id=751833 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/a9f28dbc
Diffstat (limited to 'src/compositor/compositor-private.h')
-rw-r--r--src/compositor/compositor-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compositor/compositor-private.h b/src/compositor/compositor-private.h
index fcb15187..1fa64695 100644
--- a/src/compositor/compositor-private.h
+++ b/src/compositor/compositor-private.h
@@ -50,6 +50,9 @@ struct _MetaCompositor
MetaScreen *screen,
MetaWindow *window);
+ void (*free_window) (MetaCompositor *compositor,
+ MetaWindow *window);
+
void (*maximize_window) (MetaCompositor *compositor,
MetaWindow *window);
void (*unmaximize_window) (MetaCompositor *compositor,