[gnome-shell] overview: hidden workspace thumbnails should not stick out on other monitor
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] overview: hidden workspace thumbnails should not stick out on other monitor
- Date: Thu, 17 Mar 2011 13:34:33 +0000 (UTC)
commit 09f2028d6acc11b6b1fbbab81fd2ee0924b20dc4
Author: Alexander Larsson <alexl redhat com>
Date: Tue Mar 8 10:04:49 2011 +0100
overview: hidden workspace thumbnails should not stick out on other monitor
We clip the entire WorkspacesDisplay to its allocation to avoid things
like the WorkspaceThumbnails sticking out of the primary monitor into
another monitor.
https://bugzilla.gnome.org/show_bug.cgi?id=609258
js/ui/workspacesView.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index d288c2c..b374179 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -562,6 +562,7 @@ WorkspacesDisplay.prototype = {
this.actor.connect('get-preferred-width', Lang.bind(this, this._getPreferredWidth));
this.actor.connect('get-preferred-height', Lang.bind(this, this._getPreferredHeight));
this.actor.connect('allocate', Lang.bind(this, this._allocate));
+ this.actor.set_clip_to_allocation(true);
let controls = new St.Bin({ style_class: 'workspace-controls',
request_mode: Clutter.RequestMode.WIDTH_FOR_HEIGHT,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]