diff --git a/js/ui/boxpointer.js b/js/ui/boxpointer.js index 47f718a84..d51877d18 100644 --- a/js/ui/boxpointer.js +++ b/js/ui/boxpointer.js @@ -44,6 +44,7 @@ var BoxPointer = new Lang.Class({ y_fill: true }); this._container = new Shell.GenericContainer(); this.actor.set_child(this._container); + this.actor.set_offscreen_redirect(Clutter.OffscreenRedirect.ALWAYS); this._container.connect('get-preferred-width', this._getPreferredWidth.bind(this)); this._container.connect('get-preferred-height', this._getPreferredHeight.bind(this)); this._container.connect('allocate', this._allocate.bind(this)); diff --git a/js/ui/dash.js b/js/ui/dash.js index 5ee2476e3..9b8bfdd13 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -402,6 +402,7 @@ var Dash = new Lang.Class({ clip_to_allocation: true }); this._box._delegate = this; this._container.add_actor(this._box); + this._container.set_offscreen_redirect(Clutter.OffscreenRedirect.ALWAYS); this._showAppsIcon = new ShowAppsIcon(); this._showAppsIcon.childScale = 1; diff --git a/js/ui/dialog.js b/js/ui/dialog.js index cfa192db7..0dd33706b 100644 --- a/js/ui/dialog.js +++ b/js/ui/dialog.js @@ -40,6 +40,7 @@ var Dialog = new Lang.Class({ // mode accordingly so wrapped labels are handled correctly during // size requests. this._dialog.request_mode = Clutter.RequestMode.HEIGHT_FOR_WIDTH; + this._dialog.set_offscreen_redirect(Clutter.OffscreenRedirect.ALWAYS); this.contentLayout = new St.BoxLayout({ vertical: true, style_class: "modal-dialog-content-box" }); diff --git a/js/ui/panel.js b/js/ui/panel.js index 05241abdc..4fd599c47 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -776,6 +776,7 @@ var Panel = new Lang.Class({ this.actor = new Shell.GenericContainer({ name: 'panel', reactive: true }); this.actor._delegate = this; + this.actor.set_offscreen_redirect(Clutter.OffscreenRedirect.ALWAYS); this._sessionStyle = null;