summaryrefslogtreecommitdiff
path: root/tile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tile.cpp')
-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 () &&