diff --git a/contents/code/tile.js b/contents/code/tile.js index 47378c9dc9e03c6a64db0709d4a12c330c6f0140..ec899cb7af8352b540866a27cae9d0549271bee3 100644 --- a/contents/code/tile.js +++ b/contents/code/tile.js @@ -177,7 +177,6 @@ Tile.prototype.syncCustomProperties = function() { this.clients[0].tiling_tileIndex = this.tileIndex; this.clients[0].syncTabGroupFor("tiling_tileIndex", true); this.clients[0].syncTabGroupFor("tiling_floating", true); - this.clients[0].syncTabGroupFor("fullScreen", true); } catch(err) { print(err, "in Tile.syncCustomProperties"); } diff --git a/contents/code/tiling.js b/contents/code/tiling.js index a17eefb7f550136c6c6a5ebb11a54f45e6cad5c6..d5afbd2e8321944ab152850696cab3c48b9f3719 100644 --- a/contents/code/tiling.js +++ b/contents/code/tiling.js @@ -229,7 +229,8 @@ Tiling.prototype._updateAllTiles = function() { try { // Set the position/size of all tiles if (this.active) { - var rect = workspace.clientArea(KWin.PlacementArea, this.desktop, this.screen); + // FIXME: KWin hands us the wrong area if we ask for our real desktop + var rect = workspace.clientArea(KWin.PlacementArea, 0, this.screen); this.layout.onLayoutAreaChange(rect); for (var i = 0; i < this.layout.tiles.length; i++) { var newRect = this.layout.tiles[i].rectangle;