From f781b4546f2a94ff050e1585f273d8105c1a54a2 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 30 Jul 2019 12:11:13 +0300 Subject: window: add _GTK_THEME_VARIANT to initial window properties --- src/core/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/window.c') diff --git a/src/core/window.c b/src/core/window.c index caad0011..bc10e272 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -264,7 +264,7 @@ meta_window_new_with_attrs (MetaDisplay *display, gulong existing_wm_state; gulong event_mask; MetaMoveResizeFlags flags; -#define N_INITIAL_PROPS 19 +#define N_INITIAL_PROPS 20 Atom initial_props[N_INITIAL_PROPS]; int i; gboolean has_shape; @@ -623,6 +623,7 @@ meta_window_new_with_attrs (MetaDisplay *display, initial_props[i++] = XA_WM_TRANSIENT_FOR; initial_props[i++] = display->atom__NET_WM_USER_TIME_WINDOW; initial_props[i++] = display->atom__NET_WM_FULLSCREEN_MONITORS; + initial_props[i++] = display->atom__GTK_THEME_VARIANT; g_assert (N_INITIAL_PROPS == i); meta_window_reload_properties (window, initial_props, N_INITIAL_PROPS, TRUE); -- cgit v1.2.1