diff --git a/contents/code/tile.js b/contents/code/tile.js index 390f3fb790f5a05d2473e7580dfe5f1fb3698b4e..285bbcc30417ba9a3aa8f78aa1114b4dbeaf7e8f 100644 --- a/contents/code/tile.js +++ b/contents/code/tile.js @@ -81,10 +81,6 @@ function Tile(firstClient, tileIndex) { * Index of this tile in the TileList to which the tile belongs. */ this.tileIndex = tileIndex; - /** - * True if this tile has been marked as floating by the user. - */ - this.floating = false; /** * True if this tile has to be floating because of client properties. */ @@ -161,7 +157,6 @@ Tile.prototype.getActiveClient = function() { */ Tile.prototype.syncCustomProperties = function() { this.clients[0].tiling_tileIndex = this.tileIndex; - this.clients[0].tiling_floating = this.floating; this.clients[0].syncTabGroupFor("tiling_tileIndex", true); this.clients[0].syncTabGroupFor("tiling_floating", true); }; diff --git a/contents/code/tiling.js b/contents/code/tiling.js index f6115408ca4d237d38fb7bd194aaf7f1350854bd..b3e3df021d590464473e624047a02810353b8b9c 100644 --- a/contents/code/tiling.js +++ b/contents/code/tiling.js @@ -165,7 +165,7 @@ Tiling.prototype.getTiles = function() { } Tiling.prototype.getAdjacentTile = function(from, direction, directOnly) { - if (from.floating || from.forcedFloating) { + if (from.forcedFloating) { // TODO print("TODO: getAdjacentTile() (floating tile)"); } else { diff --git a/contents/code/tilingmanager.js b/contents/code/tilingmanager.js index 68dd5fa418aec1bc145cf507bc49f87d2fcc6672..528e1f5069de411cf5aabbafb140586fc1be3b1b 100644 --- a/contents/code/tilingmanager.js +++ b/contents/code/tilingmanager.js @@ -491,7 +491,7 @@ TilingManager.prototype._moveTile = function(direction) { return; } var activeTile = this.tiles.getTile(client); - if (activeTile == null || activeTile.floating + if (activeTile == null || activeTile.forcedFloating) { print("Tile is floating"); return;