diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2021-08-17 06:41:54 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2021-08-17 06:41:54 +0200 |
commit | e605fe5dffe686241847c67166fe2414b48ee2a8 (patch) | |
tree | 5b506de0a4faa0506d0cf053af8e9d7184aa59bf /src/renderers/pieWindow.vala | |
parent | 6617f5ee51c94d05028ebceb3177ec0e3a87e78d (diff) | |
parent | 6a2a889a6de6b45fcc21e0050763858768610952 (diff) |
Merge branch 'release/debian/0.7.3-1'debian/0.7.3-1
Diffstat (limited to 'src/renderers/pieWindow.vala')
-rw-r--r-- | src/renderers/pieWindow.vala | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/renderers/pieWindow.vala b/src/renderers/pieWindow.vala index 6d258d8..554fb15 100644 --- a/src/renderers/pieWindow.vala +++ b/src/renderers/pieWindow.vala @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// Copyright 2011-2018 Simon Schneegans +// Copyright 2011-2021 Simon Schneegans // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the @@ -124,11 +124,12 @@ public class PieWindow : Gtk.Window { this.set_skip_taskbar_hint(true); this.set_skip_pager_hint(true); this.set_keep_above(true); - this.set_type_hint(Gdk.WindowTypeHint.DOCK); + this.set_type_hint(Gdk.WindowTypeHint.DIALOG); this.set_decorated(false); this.set_resizable(false); this.icon_name = "gnome-pie"; - this.set_accept_focus(false); + this.set_accept_focus(true); + this.set_focus_on_map(true); this.app_paintable = true; // check for compositing @@ -182,7 +183,9 @@ public class PieWindow : Gtk.Window { }); this.focus_out_event.connect((w, e) => { - this.cancel(); + if (this.is_active) { + this.cancel(); + } return true; }); |