summaryrefslogtreecommitdiff
path: root/appearance__disable-backdrop.patch
blob: 7f83409a19c0a9f926dc275a05b740a8c220cdb0 (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
@@ -8017,7 +8017,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)
bgstack15