From cd03b72ac978e96acd159fa120deaa3d9bde8cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20J=C3=B8rgen=20Br=C3=B8nner?= Date: Sat, 30 Sep 2017 20:50:09 +0200 Subject: [PATCH] Reparent instead of add In theory more robust --- minimap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimap.js b/minimap.js index 234c62c..0335d6f 100644 --- a/minimap.js +++ b/minimap.js @@ -238,7 +238,7 @@ MultiMap = function() { spaces.forEach((s) => { let wrapper = new St.Widget(); wrapper.add_actor(s.minimap); - multimap.add_actor(wrapper); + wrapper.reparent(multimap); s.minimap.visible = false; s.minimap.toggle(); s.minimap.fold();