mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-04 19:46:53 +00:00
Fix broken alt-tab binding after gdm lock
For some reason locking the screen with GDM kills the live-alt-tab binding.
This commit is contained in:
+4
-4
@@ -213,7 +213,7 @@ function enable() {
|
||||
}
|
||||
|
||||
// Restore settings if we've reloaded
|
||||
restoreKeybindings(paperSettings);
|
||||
// restoreKeybindings(paperSettings);
|
||||
|
||||
let settings = new Gio.Settings({ schema_id: "org.gnome.desktop.wm.keybindings"});
|
||||
|
||||
@@ -245,11 +245,11 @@ function disable() {
|
||||
Scratch.disable();
|
||||
|
||||
// Restore default gnome bindings
|
||||
restoreKeybindings(wmSettings);
|
||||
// restoreKeybindings(wmSettings);
|
||||
|
||||
// Kill our custom bindings
|
||||
killKeybinding('live-alt-tab', paperSettings)
|
||||
killKeybinding('live-alt-tab-backward', paperSettings)
|
||||
// killKeybinding('live-alt-tab', paperSettings)
|
||||
// killKeybinding('live-alt-tab-backward', paperSettings)
|
||||
|
||||
enabled = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user