mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-04 19:46:53 +00:00
Activate the clickOverlay when switching workspace
This commit is contained in:
@@ -563,6 +563,12 @@ function enable() {
|
||||
Navigator.switchWorkspace(to, from);
|
||||
let toSpace = spaces.spaceOf(to);
|
||||
spaces.monitors.set(toSpace.monitor, toSpace);
|
||||
|
||||
for (let monitor of Main.layoutManager.monitors) {
|
||||
if (monitor === toSpace.monitor)
|
||||
continue;
|
||||
monitor.clickOverlay.activate();
|
||||
}
|
||||
}));
|
||||
|
||||
// HACK: couldn't find an other way within a reasonable time budget
|
||||
|
||||
Reference in New Issue
Block a user