From 22aca3fcb271f557a65d474bce4eb2a115dd09fb Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Tue, 21 May 2019 13:52:30 -0400 Subject: ui-frames: Delay attaching the style to new frames Like the setting of new frames' background is delayed until the frame is associated with its window, delay attaching the initial style, so that the correct style variant is picked. https://bugzilla.gnome.org/show_bug.cgi?id=645355 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/ee056853 --- src/ui/frames.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ui/frames.c') diff --git a/src/ui/frames.c b/src/ui/frames.c index 9f1ee8cb..02613210 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -579,7 +579,6 @@ meta_frames_manage_window (MetaFrames *frames, gdk_window_set_user_data (frame->window, frames); frame->style = NULL; - meta_frames_attach_style (frames, frame); /* Don't set event mask here, it's in frame.c */ -- cgit v1.2.1