summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Gurgel Pinho <eduardo@mad4.(none)>2009-03-10 18:14:13 -0300
committerEduardo Gurgel Pinho <eduardo@mad4.(none)>2009-03-10 18:14:13 -0300
commit2470523f8d9800c8687a24a7c3c701cbed6c326b (patch)
treee8ea9c5084ea77b8757a3b92f68f893afde2f1b7
parent02424bddc3f5a74563c54df38ec089623ccd3e78 (diff)
downloadtile-2470523f8d9800c8687a24a7c3c701cbed6c326b.tar.gz
tile-2470523f8d9800c8687a24a7c3c701cbed6c326b.tar.bz2
Track core changes
-rw-r--r--tile.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tile.cpp b/tile.cpp
index 2a11849..e1bc521 100644
--- a/tile.cpp
+++ b/tile.cpp
@@ -574,11 +574,11 @@ TileWindow::placeWin (int x,
return false;
/* set previous coordinates for animation */
- tiler->previous.setGeometry (window->x (), window->x () + window->width (),
- window->y (), window->y () + window->height ());
+ tiler->previous.setGeometry (window->x (), window->y (),
+ window->width (), window->height ());
/* set future coordinates for animation */
- tiler->current.setGeometry (x, x + width, y, y + height);
+ tiler->current.setGeometry (x, y, width, height);
alreadyResized = false; /* window is not resized now */
needConfigure = true;
@@ -653,8 +653,8 @@ Tiler::Tiler () :
void
Tiler::save (CompWindow *w)
{
- saved.setGeometry (w->serverX (), w->serverX () + w->serverWidth (),
- w->serverY (), w->serverY () + w->serverHeight ());
+ saved.setGeometry (w->serverX (), w->serverY (),
+ w->serverWidth (), w->serverHeight ());
maximized = w->state () & MAXIMIZE_STATE;