summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2009-02-21 20:30:16 +0900
committerSam Spilsbury <smspillaz@gmail.com>2009-02-21 20:30:16 +0900
commit8af7fa27b717c5ccda59e5d9a1f345a65af79806 (patch)
tree238998da72dcb9f0096058da76eda828f7c56518
parent8626c76afce76ee3afa87dd1632ba31b36a48463 (diff)
downloadtile-8af7fa27b717c5ccda59e5d9a1f345a65af79806.tar.gz
tile-8af7fa27b717c5ccda59e5d9a1f345a65af79806.tar.bz2
Temporarily disable w->constrainNewWindowSize () because it creates broken tiled windows...
-rw-r--r--tile.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tile.cpp b/tile.cpp
index 434324c..fc6dacf 100644
--- a/tile.cpp
+++ b/tile.cpp
@@ -508,10 +508,12 @@ TileWindow::placeWin (int x,
int i_height;
/* this checks if the window isnt smaller
than minimum size it has defined */
- /*constrainMinMax (i_width, i_height, i_width, i_height);
+ /* FIXME: This creates broken tiled windows but should be
+ * done in theory */
+ //window->constrainNewWindowSize (i_width, i_height, &i_width, &i_height);
width = i_width;
- height = i_height;*/
+ height = i_height;
/* does the window need to be moved? */
if (x == window->x () && y == window->y () &&