mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-07-03 15:40:04 +00:00
ClickOverlay: Don't change monitors while in workspace preview
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user