summaryrefslogtreecommitdiff
path: root/csd__server-side-shadow.patch
blob: 602ae262602e5855ed96993469b935eed03e03de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: b/gtk/gtkwindow.c
===================================================================
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4113,6 +4113,8 @@ gtk_window_supports_client_shadow (GtkWi
 #ifdef GDK_WINDOWING_X11
   if (GDK_IS_X11_DISPLAY (display))
     {
+      if (g_strcmp0 (g_getenv ("GTK_CSD"), "1") != 0)
+        return FALSE;
       if (!gdk_screen_is_composited (screen))
         return FALSE;
 
bgstack15