We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ad847e commit 7c1d48cCopy full SHA for 7c1d48c
src/Widgets/WindowClone.vala
@@ -190,10 +190,10 @@ public class Gala.WindowClone : Clutter.Actor {
190
private void load_clone (bool was_waiting = false) {
191
var actor = (Meta.WindowActor) window.get_compositor_private ();
192
if (actor == null) {
193
- ulong shown_handler = 0;
194
- shown_handler = window.shown.connect (() => {
195
- load_clone (true);
196
- window.disconnect (shown_handler);
+ Idle.add (() => {
+ if (window.get_compositor_private () != null)
+ load_clone (true);
+ return Source.REMOVE;
197
});
198
199
return;
0 commit comments