mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
windowManager: Disable bottom edge swipe gesture if OSK is enabled
It does not make sense then, plus it eats events close to the edge.
This commit is contained in:
parent
4aecf4c973
commit
699e97559d
1 changed files with 4 additions and 0 deletions
|
|
@ -1071,6 +1071,10 @@ var WindowManager = class {
|
|||
gesture.connect('activated', () => {
|
||||
Main.keyboard.show(Main.layoutManager.bottomIndex);
|
||||
});
|
||||
Main.layoutManager.connect('keyboard-visible-changed', (manager, visible) => {
|
||||
gesture.cancel();
|
||||
gesture.set_enabled(!visible);
|
||||
});
|
||||
global.stage.add_action(gesture);
|
||||
|
||||
gesture = new EdgeDragAction.EdgeDragAction(St.Side.TOP, mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue