From eeb4d5a887c7ef66adf3399da997cbd325b86c4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Wed, 19 Sep 2018 13:47:46 +0200 Subject: [PATCH] 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. --- tiling.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiling.js b/tiling.js index c41c665..a6cf0c7 100644 --- a/tiling.js +++ b/tiling.js @@ -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));