From 5c69bb067f55d2499d325f4307c0923c585a2be6 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 4 Jun 2024 18:24:25 +0200 Subject: [PATCH] keyboard: Disable unredirection when the OSK is shown The OSK might be wanted over fullscreen windows triggering unredirection, and the unredirection should be temporarily overridden in that case. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7692 Part-of: --- js/ui/keyboard.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 73ff1d212..70101e93d 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1787,6 +1787,8 @@ export const Keyboard = GObject.registerClass({ } _animateShow() { + Meta.disable_unredirect_for_display(global.display); + if (this._focusWindow) this._animateWindow(this._focusWindow, true); @@ -1841,6 +1843,7 @@ export const Keyboard = GObject.registerClass({ _animateHideComplete() { Main.layoutManager.keyboardBox.hide(); + Meta.enable_unredirect_for_display(global.display); } gestureProgress(delta) {