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:

committed by
Marge Bot

parent
3e160d7b31
commit
5c69bb067f
@ -1787,6 +1787,8 @@ export const Keyboard = GObject.registerClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
_animateShow() {
|
_animateShow() {
|
||||||
|
Meta.disable_unredirect_for_display(global.display);
|
||||||
|
|
||||||
if (this._focusWindow)
|
if (this._focusWindow)
|
||||||
this._animateWindow(this._focusWindow, true);
|
this._animateWindow(this._focusWindow, true);
|
||||||
|
|
||||||
@ -1841,6 +1843,7 @@ export const Keyboard = GObject.registerClass({
|
|||||||
|
|
||||||
_animateHideComplete() {
|
_animateHideComplete() {
|
||||||
Main.layoutManager.keyboardBox.hide();
|
Main.layoutManager.keyboardBox.hide();
|
||||||
|
Meta.enable_unredirect_for_display(global.display);
|
||||||
}
|
}
|
||||||
|
|
||||||
gestureProgress(delta) {
|
gestureProgress(delta) {
|
||||||
|
Reference in New Issue
Block a user