overview: make overview usable on 3.38

The monkey patching just causes problems on 3.38 after they made a
fairly big rewrite.
This commit is contained in:
Tor Hedin Brønner
2020-11-09 18:45:08 +01:00
parent 8efe979128
commit 261ae9de8f

View File

@@ -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)