From e680ba894600a111d4a3ff7c1d05fb939ef7d71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Tue, 12 Nov 2019 13:45:54 +0100 Subject: [PATCH] ClickOverlay: Don't change monitors while in workspace preview --- stackoverlay.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stackoverlay.js b/stackoverlay.js index cb5f30c..f2a3b50 100644 --- a/stackoverlay.js +++ b/stackoverlay.js @@ -87,6 +87,9 @@ class ClickOverlay { this.signals.connect( enterMonitor, 'motion-event', (actor, event) => { + // Changing monitors while in workspace preview doesn't work + if (Tiling.inPreview) + return; let [x, y, z] = global.get_pointer(); let [lX, lY] = this._lastPointer; this._lastPointer = [x, y];