summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2019-07-30 12:11:13 +0300
committerraveit65 <[email protected]>2019-09-12 15:15:17 +0200
commitf781b4546f2a94ff050e1585f273d8105c1a54a2 (patch)
tree692c64a094cdb59b7059c7aaf3c0068e41dc645e
parent44c20584f3b64163126d7846beb61825efd02d64 (diff)
downloadmarco-f781b4546f2a94ff050e1585f273d8105c1a54a2.tar.bz2
marco-f781b4546f2a94ff050e1585f273d8105c1a54a2.tar.xz
window: add _GTK_THEME_VARIANT to initial window properties
-rw-r--r--src/core/window.c3
1 files changed, 2 insertions, 1 deletions
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);