diff options
author | B. Stack <bgstack15@gmail.com> | 2021-08-18 15:24:42 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-08-18 15:24:42 -0400 |
commit | 76447c4a5b6c31f9aec0834353e017eeae77f9c4 (patch) | |
tree | ec9b6ee857805269eae8a63ea89acf3e1bf3a21f /csd__disabled-by-default.patch | |
parent | Update to 3.24.29 (diff) | |
download | gtk3-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__disabled-by-default.patch')
-rw-r--r-- | csd__disabled-by-default.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/csd__disabled-by-default.patch b/csd__disabled-by-default.patch new file mode 100644 index 0000000..fc6b852 --- /dev/null +++ b/csd__disabled-by-default.patch @@ -0,0 +1,19 @@ +Index: b/gtk/gtkwindow.c +=================================================================== +--- a/gtk/gtkwindow.c ++++ b/gtk/gtkwindow.c +@@ -4164,6 +4164,14 @@ gtk_window_enable_csd (GtkWindow *window + } + + priv->client_decorated = TRUE; ++#ifdef GDK_WINDOWING_X11 ++ if (GDK_IS_X11_DISPLAY (gtk_widget_get_display (widget)) && g_getenv("GTK_CSD") == FALSE) ++ { ++ gtk_style_context_remove_class (gtk_widget_get_style_context (widget), GTK_STYLE_CLASS_CSD); ++ gtk_style_context_remove_class (gtk_widget_get_style_context (widget), "solid-csd"); ++ priv->client_decorated = FALSE; ++ } ++#endif + } + + static void |