From 752751e4a676807aa9598a7b4b6c2a39e2e7ce76 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') diff --git a/src/core/window.c b/src/core/window.c index 7cd19415..fe0a5476 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