diff --git a/src/core/window.c b/src/core/window.c index b5a4984bb..5e7b3c9da 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -5831,7 +5831,7 @@ meta_window_get_outer_rect (const MetaWindow *window, if (window->has_custom_frame_extents) { - GtkBorder *extents = &window->custom_frame_extents; + const GtkBorder *extents = &window->custom_frame_extents; rect->x += extents->left; rect->y += extents->top; rect->width -= extents->left + extents->right;