mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
parent
3e160d7b31
commit
5c69bb067f
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue