[gnome-shell] windowManager: Disable OSK gesture on lock screen
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] windowManager: Disable OSK gesture on lock screen
- Date: Fri, 29 Sep 2017 13:59:31 +0000 (UTC)
commit 6321bbb77330120432b7cbc80259883d8d057d7f
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Sep 25 15:26:14 2017 +0200
windowManager: Disable OSK gesture on lock screen
On the screen shield, the only possible interaction is lifting the
shield. The on-screen-keyboard is not useful for that, and the drag
gesture from the bottom may in fact conflict with dragging up the
shield, so disable it.
https://bugzilla.gnome.org/show_bug.cgi?id=788339
js/ui/windowManager.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index dbc2acf..a59b3fd 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -985,7 +985,8 @@ var WindowManager = new Lang.Class({
gesture.connect('activated', Lang.bind(this, this._switchApp));
global.stage.add_action(gesture);
- gesture = new EdgeDragAction.EdgeDragAction(St.Side.BOTTOM, Shell.ActionMode.ALL);
+ let mode = Shell.ActionMode.ALL & ~Shell.ActionMode.LOCK_SCREEN;
+ gesture = new EdgeDragAction.EdgeDragAction(St.Side.BOTTOM, mode);
gesture.connect('activated', Lang.bind(this, function() {
Main.keyboard.show(Main.layoutManager.bottomIndex);
}));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]