[gnome-shell/wip/fmuellner/app-folder-action-mode] appFolder: Don't block all shortcuts
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/app-folder-action-mode] appFolder: Don't block all shortcuts
- Date: Thu, 11 Oct 2018 18:21:08 +0000 (UTC)
commit 76117fd3063bcbbc8c8a0287c1ecf351d1a22039
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Oct 11 20:12:54 2018 +0200
appFolder: Don't block all shortcuts
App folder popups take a grab when opened, and as we don't pass any
particular pushModal() parameters, all keybindings are blocked. While
this makes sense for most keybindings that would interfere with the
popup interaction, others like volume/brightness keys or screenshots
can be allowed safely.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/648
js/ui/appDisplay.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 2162292aa..a58fa6f84 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1462,7 +1462,9 @@ var AppFolderPopup = new Lang.Class({
global.focus_manager.add_group(this.actor);
source.actor.connect('destroy', () => { this.actor.destroy(); });
- this._grabHelper = new GrabHelper.GrabHelper(this.actor);
+ this._grabHelper = new GrabHelper.GrabHelper(this.actor, {
+ actionMode: Shell.ActionMode.POPUP
+ });
this._grabHelper.addActor(Main.layoutManager.overviewGroup);
this.actor.connect('key-press-event', this._onKeyPress.bind(this));
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]