4 Commits

Author SHA1 Message Date
Dome 8db89fc155 Update Makefile 2025-10-11 22:22:35 +02:00
Dome 39e8a3541b Update enterprise.js 2025-10-11 22:12:59 +02:00
Dome 47f5a734be Update interim.js 2025-10-11 22:12:33 +02:00
Dome 1d5cdf480c Update modern.js 2025-10-11 22:12:13 +02:00
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
############################################################################### ###############################################################################
UUID := simple-tiling@domoel UUID := simple-tiling@domoel
VERSION := 7.5 VERSION := 7.6
EXTDIR := $(HOME)/.local/share/gnome-shell/extensions EXTDIR := $(HOME)/.local/share/gnome-shell/extensions
COMMON_FILES := schemas exceptions.txt locale *.css README.md LICENSE COMMON_FILES := schemas exceptions.txt locale *.css README.md LICENSE
+2 -2
View File
@@ -98,7 +98,7 @@ class InteractionHandler {
} }
_bind(key, handler) { _bind(key, handler) {
global.display.add_keybinding( Main.wm.addKeybinding(
key, key,
this._settings, this._settings,
Meta.KeyBindingFlags.NONE, Meta.KeyBindingFlags.NONE,
@@ -108,7 +108,7 @@ class InteractionHandler {
} }
_bindAllShortcuts() { for (const [k,h] of Object.entries(KEYBINDINGS)) this._bind(k, h); } _bindAllShortcuts() { for (const [k,h] of Object.entries(KEYBINDINGS)) this._bind(k, h); }
_unbindAllShortcuts(){ for (const k in KEYBINDINGS) global.display.remove_keybinding(k); } _unbindAllShortcuts(){ for (const k in KEYBINDINGS) Main.wm.removeKeybinding(k); }
_onSettingsChanged() { _onSettingsChanged() {
this._unbindAllShortcuts(); this._unbindAllShortcuts();
+2 -2
View File
@@ -101,7 +101,7 @@ class InteractionHandler {
} }
_bind(key, handler) { _bind(key, handler) {
global.display.add_keybinding( Main.wm.addKeybinding(
key, key,
this._settings, this._settings,
Meta.KeyBindingFlags.NONE, Meta.KeyBindingFlags.NONE,
@@ -111,7 +111,7 @@ class InteractionHandler {
} }
_bindAllShortcuts() { for (const [k,h] of Object.entries(KEYBINDINGS)) this._bind(k, h); } _bindAllShortcuts() { for (const [k,h] of Object.entries(KEYBINDINGS)) this._bind(k, h); }
_unbindAllShortcuts(){ for (const k in KEYBINDINGS) global.display.remove_keybinding(k); } _unbindAllShortcuts(){ for (const k in KEYBINDINGS) Main.wm.removeKeybinding(k); }
_onSettingsChanged() { _onSettingsChanged() {
this._unbindAllShortcuts(); this._unbindAllShortcuts();
+3 -2
View File
@@ -113,16 +113,17 @@ class InteractionHandler {
} }
_bind(key, handler) { _bind(key, handler) {
global.display.add_keybinding( Main.wm.addKeybinding(
key, key,
this._settings, this._settings,
Meta.KeyBindingFlags.NONE, Meta.KeyBindingFlags.NONE,
Shell.ActionMode.NORMAL,
(..._args) => handler(this) (..._args) => handler(this)
); );
} }
_bindAllShortcuts() { for (const [k,h] of Object.entries(KEYBINDINGS)) this._bind(k, h); } _bindAllShortcuts() { for (const [k,h] of Object.entries(KEYBINDINGS)) this._bind(k, h); }
_unbindAllShortcuts(){ for (const k in KEYBINDINGS) global.display.remove_keybinding(k); } _unbindAllShortcuts(){ for (const k in KEYBINDINGS) Main.wm.removeKeybinding(k); }
_onSettingsChanged() { _onSettingsChanged() {
this._unbindAllShortcuts(); this._unbindAllShortcuts();