diff --git a/src/frames/meta-frame-header.c b/src/frames/meta-frame-header.c index e5b0b5b9f..f84afb523 100644 --- a/src/frames/meta-frame-header.c +++ b/src/frames/meta-frame-header.c @@ -118,6 +118,8 @@ meta_frame_header_init (MetaFrameHeader *content) gtk_widget_add_css_class (header_bar, "titlebar"); gtk_widget_add_css_class (header_bar, "default-decoration"); gtk_widget_insert_before (header_bar, GTK_WIDGET (content), NULL); + + gtk_widget_add_css_class (GTK_WIDGET (content), "default-decoration"); } GtkWidget * diff --git a/src/frames/meta-frame.c b/src/frames/meta-frame.c index 66f2109c3..7b55e74e5 100644 --- a/src/frames/meta-frame.c +++ b/src/frames/meta-frame.c @@ -228,7 +228,6 @@ meta_frame_new (Window window) header = meta_frame_header_new (); gtk_window_set_titlebar (GTK_WINDOW (frame), header); - gtk_widget_add_css_class (frame, "default-decoration"); content = meta_frame_content_new (window); gtk_window_set_child (GTK_WINDOW (frame), content);