workspacesView: Minor cleanup

https://bugzilla.gnome.org/show_bug.cgi?id=694469
This commit is contained in:
Jasper St. Pierre 2013-02-25 17:06:07 -05:00
parent 7cb12015fd
commit 2506673514

View File

@ -636,16 +636,11 @@ const WorkspacesDisplay = new Lang.Class({
if (!this._workspacesViews.length) if (!this._workspacesViews.length)
return; return;
let fullWidth = this.actor.allocation.x2 - this.actor.allocation.x1; let width = this.actor.allocation.x2 - this.actor.allocation.x1;
let fullHeight = this.actor.allocation.y2 - this.actor.allocation.y1; let height = this.actor.allocation.y2 - this.actor.allocation.y1;
let width = fullWidth;
let height = fullHeight;
let [x, y] = this.actor.get_transformed_position(); let [x, y] = this.actor.get_transformed_position();
let rtl = (Clutter.get_default_text_direction () == Clutter.TextDirection.RTL);
let monitors = Main.layoutManager.monitors; let monitors = Main.layoutManager.monitors;
let m = 0; let m = 0;
for (let i = 0; i < monitors.length; i++) { for (let i = 0; i < monitors.length; i++) {