mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-04 03:26:54 +00:00
clickOverlay: cover the entire monitor
We guard against small movements triggering monitor change already.
This commit is contained in:
+2
-3
@@ -131,9 +131,8 @@ class ClickOverlay {
|
||||
if (this.onlyOnPrimary)
|
||||
return;
|
||||
let monitor = this.monitor;
|
||||
let d = 10;
|
||||
this.enterMonitor.set_position(monitor.x + d, monitor.y + d);
|
||||
this.enterMonitor.set_size(monitor.width - 2*d, monitor.height - 2*d);
|
||||
this.enterMonitor.set_position(monitor.x, monitor.y);
|
||||
this.enterMonitor.set_size(monitor.width, monitor.height);
|
||||
}
|
||||
|
||||
deactivate() {
|
||||
|
||||
Reference in New Issue
Block a user