diff --git a/js/ui/workspace.js b/js/ui/workspace.js index c7d9d8166..7370a137a 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -214,6 +214,7 @@ var WindowPreview = GObject.registerClass({ reactive: true, can_focus: true, accessible_role: Atk.Role.PUSH_BUTTON, + offscreen_redirect: Clutter.OffscreenRedirect.AUTOMATIC_FOR_OPACITY, }); this._windowContainer = new Clutter.Actor(); @@ -224,8 +225,6 @@ var WindowPreview = GObject.registerClass({ this._windowContainer.layout_manager = new WindowPreviewLayout(); this.add_child(this._windowContainer); - this.set_offscreen_redirect(Clutter.OffscreenRedirect.AUTOMATIC_FOR_OPACITY); - this._addWindow(realWindow.meta_window); this._delegate = this;