summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/frame.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/frame.c b/src/core/frame.c
index f2405922..070fee79 100644
--- a/src/core/frame.c
+++ b/src/core/frame.c
@@ -146,6 +146,10 @@ meta_window_ensure_frame (MetaWindow *window)
/* stick frame to the window */
window->frame = frame;
+ /* Now that frame->xwindow is registered with window, we can set its
+ * style.
+ */
+ meta_ui_update_frame_style (window->screen->ui, frame->xwindow);
if (window->title)
meta_ui_set_frame_title (window->screen->ui,
window->frame->xwindow,