summaryrefslogtreecommitdiff
path: root/csd__server-side-shadow.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-08-18 15:24:42 -0400
committerB. Stack <bgstack15@gmail.com>2021-08-18 15:24:42 -0400
commit76447c4a5b6c31f9aec0834353e017eeae77f9c4 (patch)
treeec9b6ee857805269eae8a63ea89acf3e1bf3a21f /csd__server-side-shadow.patch
parentUpdate to 3.24.29 (diff)
downloadgtk3-classic-build-gtk3-76447c4a5b6c31f9aec0834353e017eeae77f9c4.tar.gz
gtk3-classic-build-gtk3-76447c4a5b6c31f9aec0834353e017eeae77f9c4.tar.bz2
gtk3-classic-build-gtk3-76447c4a5b6c31f9aec0834353e017eeae77f9c4.zip
3.24.29 for fc33
Diffstat (limited to 'csd__server-side-shadow.patch')
-rw-r--r--csd__server-side-shadow.patch13
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;
+
bgstack15