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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3356>
This commit is contained in:
Carlos Garnacho
2024-06-04 18:24:25 +02:00
committed by Marge Bot
parent 3e160d7b31
commit 5c69bb067f

View File

@ -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) {