[gnome-shell-extensions/gnome-40] window-list: Fix OSK
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions/gnome-40] window-list: Fix OSK
- Date: Sat, 11 Dec 2021 13:23:42 +0000 (UTC)
commit 721d7b271a12798ee777b5f4d6d761d069601d9e
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Nov 26 20:01:40 2021 +0100
window-list: Fix OSK
The reveal animation moved from Main.layoutManager.keyboardBox to
the keyboard itself, so instead of applying an additional translation
for the bottom panel, we override the translation that would reveal
the keyboard (and thus prevent it from showing altogether).
Fix this by moving our translation to the keyboardBox instead.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/199>
(cherry picked from commit 02e5029eb68616059cd0f5d1164d5d4977c01acf)
extensions/window-list/extension.js | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js
index f7ecd19..8bca68c 100644
--- a/extensions/window-list/extension.js
+++ b/extensions/window-list/extension.js
@@ -918,11 +918,8 @@ class WindowList extends St.Widget {
}
_updateKeyboardAnchor() {
- if (!Main.keyboard.keyboardActor)
- return;
-
- let translationY = Main.overview.visible ? 0 : this.height;
- Main.keyboard.keyboardActor.translation_y = -translationY;
+ const translationY = Main.overview.visible ? 0 : this.height;
+ Main.layoutManager.keyboardBox.translation_y = -translationY;
}
_onAppStateChanged(appSys, app) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]