diff --git a/contents/code/spirallayout.js b/contents/code/spirallayout.js index 57d50a3f16db2293faeba11563bada930876ed48..aeef8a62db0e865f9e87b1f820ed67fdf5dc3ff9 100644 --- a/contents/code/spirallayout.js +++ b/contents/code/spirallayout.js @@ -48,7 +48,6 @@ SpiralLayout.prototype.resetTileSizes = function() { } SpiralLayout.prototype.addTile = function() { - //print("SpiralLayout: addTile"); if (this.tiles.length == 0) { // The first tile fills the whole screen var rect = Qt.rect(this.screenRectangle.x, @@ -109,7 +108,6 @@ SpiralLayout.prototype.removeTile = function(tileIndex) { rects[1].y + rects[1].height); var lastRect = Qt.rect(left, top, right - left, bottom - top); this.tiles[tileCount - 1].rectangle = lastRect; - //print("New tilesize:",left,top,right - left,bottom - top); } // Remove the last array entry this.tiles.length--; @@ -120,7 +118,6 @@ SpiralLayout.prototype.removeTile = function(tileIndex) { lastTile.neighbours[Direction.Down] = 0; lastTile.hasDirectNeighbour[Direction.Down] = false; } - print("Now exiting"); } SpiralLayout.prototype.resizeTile = function(tileIndex, rectangle) { diff --git a/contents/code/tilelist.js b/contents/code/tilelist.js index ea605c948622f1efe3990a32b9a821f0b13bd337..6ca6da8fab68f5654439d96ae6763fe97da59712 100644 --- a/contents/code/tilelist.js +++ b/contents/code/tilelist.js @@ -58,8 +58,6 @@ function TileList() { * @param client Client which is added to the tile list. */ TileList.prototype.addClient = function(client) { - print("addClient"); - print(client.resourceClass.toString()); if (TileList._isIgnored(client)) { client.tileIndex = null; return; @@ -255,24 +253,19 @@ TileList._isIgnored = function(client) { // TODO: Hook this up to the rules var floaters = Array("yakuake", "krunner", "Plasma", "Plasma-desktop", "plasma-desktop", "Plugin-container", "plugin-container"); if (floaters.indexOf(client.resourceClass.toString()) > -1) { - print("Client is in rules"); client.syncTabGroupFor("kwin_tiling_floats", true); return true; } if (client.dialog) { - print("Client is a dialog"); return true; } if (client.splash) { - print("Client is a splash"); return true; } if (client.dock) { - print("Client is a dock"); return true; } if (client.specialWindow == true) { - print("Client is special"); return true; } return false; diff --git a/contents/code/tilingmanager.js b/contents/code/tilingmanager.js index 7b349a097a66fb156d0cc580c2a1f6d3e8793552..93042c35eea9f46556c9bb4c0ac65fe698d6687a 100644 --- a/contents/code/tilingmanager.js +++ b/contents/code/tilingmanager.js @@ -269,7 +269,6 @@ TilingManager.prototype._onTileAdded = function(tile) { // Add tile callbacks which are needed to move the tile between different // screens/desktops var self = this; - print("Adding tile"); tile.screenChanged.connect(function(oldScreen, newScreen) { self._onTileScreenChanged(tile, oldScreen, newScreen); });