From 335a623be78727334eaaeeb93891e4aebc8a03c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Wed, 18 Dec 2019 16:30:34 +0100 Subject: [PATCH] Polyfill Clutter.Vertex --- kludges.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kludges.js b/kludges.js index 8784234..03c12df 100644 --- a/kludges.js +++ b/kludges.js @@ -193,6 +193,11 @@ if (!Clutter.Actor.prototype.raise_top) { } } +if (! Clutter.Vertex) { + const {Graphene} = imports.gi; + Clutter.Vertex = Graphene.Point3D; +} + // Workspace.Workspace._realRecalculateWindowPositions // Sort tiled windows in the correct order function _realRecalculateWindowPositions(flags) {