[gnome-shell/wip/fmuellner/skip-taskbar-quit] app: Close all closable windows from quit()
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/skip-taskbar-quit] app: Close all closable windows from quit()
- Date: Wed, 12 Sep 2018 11:55:40 +0000 (UTC)
commit f6c3a576ea4fb959c5ec74d9da6a68b1399777f9
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Sep 3 17:10:27 2018 +0200
app: Close all closable windows from quit()
There's no relation between a window being hidden from overview/taskbars
and a window not being closable - currently we effectively disable the
fallback quit action for any application with open transients, which
simply doesn't make sense.
Instead, only exclude windows for which the close action has been
explicitly disabled.
src/shell-app.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/shell-app.c b/src/shell-app.c
index bb3f0b171..65c0b5574 100644
--- a/src/shell-app.c
+++ b/src/shell-app.c
@@ -1199,7 +1199,7 @@ shell_app_request_quit (ShellApp *app)
{
MetaWindow *win = iter->data;
- if (meta_window_is_skip_taskbar (win))
+ if (!meta_window_can_close (win))
continue;
meta_window_delete (win, shell_global_get_current_time (shell_global_get ()));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]