summarylogtreecommitdiffstats
path: root/appearance__disable-backdrop.patch
blob: 44f248ffed1c15ea4b18d7a96ed56431813aedcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: src/gtk+-3.24.13/gtk/gtkwindow.c
===================================================================
--- src.orig/gtk+-3.24.13/gtk/gtkwindow.c
+++ src/gtk+-3.24.13/gtk/gtkwindow.c
@@ -8011,7 +8011,7 @@ gtk_window_state_event (GtkWidget
   GtkWindow *window = GTK_WINDOW (widget);
   GtkWindowPrivate *priv = window->priv;
 
-  if (event->changed_mask & GDK_WINDOW_STATE_FOCUSED)
+  if ((event->changed_mask & GDK_WINDOW_STATE_FOCUSED) && priv->client_decorated)
     ensure_state_flag_backdrop (widget);
 
   if (event->changed_mask & GDK_WINDOW_STATE_FULLSCREEN)