mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-06 11:56:54 +00:00
3.30: fix grab
It seems that we're getting display twice as input to `grap-op-begin`. In the gnome-shell source they're not doing this, but that might actually be a bug.
This commit is contained in:
@@ -877,11 +877,11 @@ class Spaces extends Map {
|
||||
this.signals.connect(display, 'grab-op-begin',
|
||||
global.screen ?
|
||||
(display, screen, mw, type) => grabBegin(mw, type) :
|
||||
(display, mw, type) => grabBegin(mw, type));
|
||||
(display, d, mw, type) => grabBegin(mw, type));
|
||||
this.signals.connect(display, 'grab-op-end',
|
||||
global.screen ?
|
||||
(display, screen, mw, type) => grabEnd(mw, type) :
|
||||
(display, mw, type) => grabEnd(mw, type));
|
||||
(display, d, mw, type) => grabEnd(mw, type));
|
||||
|
||||
this.signals.connect(Main.layoutManager, 'monitors-changed', this.monitorsChanged.bind(this));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user