summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2009-02-21 23:39:29 +0900
committerSam Spilsbury <smspillaz@gmail.com>2009-02-21 23:39:29 +0900
commitc0037f683a72d6a61ae3d2340d99f66d367db569 (patch)
treeba52d9f8aa82aaf999baa6817dd2a2d526471020
parent8af7fa27b717c5ccda59e5d9a1f345a65af79806 (diff)
downloadtile-c0037f683a72d6a61ae3d2340d99f66d367db569.tar.gz
tile-c0037f683a72d6a61ae3d2340d99f66d367db569.tar.bz2
We shouldn't set original values to an uninitialized value
-rw-r--r--tile.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/tile.cpp b/tile.cpp
index fc6dacf..0a5cde6 100644
--- a/tile.cpp
+++ b/tile.cpp
@@ -2,7 +2,11 @@
*
* Compiz tile plugin
*
- * tile.c
+ * tile.cp
+ *
+ * Copyright (c) 2008 Sam Spilsbury <smspillaz@gmail.com>
+ *
+ * Based on the original tile plugin:
*
* Copyright (c) 2006 Atie H. <atie.at.matrix@gmail.com>
* Copyright (c) 2006 Michal Fojtik <pichalsi(at)gmail.com>
@@ -512,8 +516,8 @@ TileWindow::placeWin (int x,
* done in theory */
//window->constrainNewWindowSize (i_width, i_height, &i_width, &i_height);
- width = i_width;
- height = i_height;
+ /*width = i_width;
+ height = i_height;*/
/* does the window need to be moved? */
if (x == window->x () && y == window->y () &&