From 261ae9de8fcdefd86d70d52b72cd6019db4cf8d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Mon, 9 Nov 2020 18:45:08 +0100 Subject: [PATCH] overview: make overview usable on 3.38 The monkey patching just causes problems on 3.38 after they made a fairly big rewrite. --- kludges.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kludges.js b/kludges.js index 32b0a5d..4e100fc 100644 --- a/kludges.js +++ b/kludges.js @@ -379,7 +379,7 @@ function init() { }); } - if (version[1] > 32) + if (version[1] > 32 && version[1] < 37) registerOverridePrototype(Workspace.UnalignedLayoutStrategy, 'computeLayout', computeLayout); // Kill pinch gestures as they work pretty bad (especially when 3-finger swiping)