diff options
Diffstat (limited to 'csd__server-side-shadow.patch')
-rw-r--r-- | csd__server-side-shadow.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/csd__server-side-shadow.patch b/csd__server-side-shadow.patch new file mode 100644 index 0000000..602ae26 --- /dev/null +++ b/csd__server-side-shadow.patch @@ -0,0 +1,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; + |