summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/frame.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/frame.c b/src/core/frame.c
index d2f5cfd3..b6ed741e 100644
--- a/src/core/frame.c
+++ b/src/core/frame.c
@@ -214,6 +214,11 @@ meta_window_destroy_frame (MetaWindow *window)
frame->xwindow);
window->frame = NULL;
+ if (window->frame_bounds)
+ {
+ cairo_region_destroy (window->frame_bounds);
+ window->frame_bounds = NULL;
+ }
/* Move keybindings to window instead of frame */
meta_window_grab_keys (window);