Skip to content

Commit fe897a9

Browse files
committed
FIX: don't activate space if already active in PointerWatcher.
1 parent 516667b commit fe897a9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

stackoverlay.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ export function enableMultimonitorDragDropSupport() {
8686

8787
const monitor = Utils.monitorAtCurrentPoint();
8888
const space = Tiling.spaces.monitors.get(monitor);
89+
90+
// if space is already active, do nothing
91+
if (Tiling.spaces.isActiveSpace(space)) {
92+
return;
93+
}
94+
8995
const selected = space?.selectedWindow;
9096
space?.activateWithFocus(selected, false, false);
9197
});

0 commit comments

Comments
 (0)