summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2019-07-30 12:11:13 +0300
committerRobert Antoni Buj Gelonch <[email protected]>2019-08-10 18:15:27 +0200
commit752751e4a676807aa9598a7b4b6c2a39e2e7ce76 (patch)
tree0d9f8e45d08d6f93e26ffa5a0ce2f9c5789804f6
parent85baeea9b663d4c356313ef1164c8efbf03e2e7e (diff)
downloadmarco-752751e4a676807aa9598a7b4b6c2a39e2e7ce76.tar.bz2
marco-752751e4a676807aa9598a7b4b6c2a39e2e7ce76.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 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);