Blame SOURCES/0001-app-Close-all-closable-windows-from-quit.patch

c7fac9
From 9b8a85d42d1c74f6a0815d23a484af3883284538 Mon Sep 17 00:00:00 2001
c7fac9
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
c7fac9
Date: Mon, 3 Sep 2018 17:10:27 +0200
c7fac9
Subject: [PATCH] app: Close all closable windows from quit()
c7fac9
c7fac9
There's no relation between a window being hidden from overview/taskbars
c7fac9
and a window not being closable - currently we effectively disable the
c7fac9
fallback quit action for any application with open transients, which
c7fac9
simply doesn't make sense.
c7fac9
c7fac9
Instead, only exclude windows for which the close action has been
c7fac9
explicitly disabled.
c7fac9
c7fac9
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/217
c7fac9
---
c7fac9
 src/shell-app.c | 2 +-
c7fac9
 1 file changed, 1 insertion(+), 1 deletion(-)
c7fac9
c7fac9
diff --git a/src/shell-app.c b/src/shell-app.c
c7fac9
index 84fcc97bf..1a6d5888d 100644
c7fac9
--- a/src/shell-app.c
c7fac9
+++ b/src/shell-app.c
c7fac9
@@ -1159,7 +1159,7 @@ shell_app_request_quit (ShellApp   *app)
c7fac9
     {
c7fac9
       MetaWindow *win = iter->data;
c7fac9
 
c7fac9
-      if (meta_window_is_skip_taskbar (win))
c7fac9
+      if (!meta_window_can_close (win))
c7fac9
         continue;
c7fac9
 
c7fac9
       meta_window_delete (win, shell_global_get_current_time (shell_global_get ()));
c7fac9
-- 
c7fac9
2.20.1
c7fac9