aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2013-02-10 11:21:29 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2013-02-10 11:21:29 (GMT)
commitcf56f32b29ae3007eb538731221b00d1945799ae (patch)
treef8fa6374c2fd1c9d00c6801244c81c9600f4a6c5 /src
parentb0391221820e2104c2a8b66b5669139ab7bff8d0 (diff)
downloadfluxbox-cf56f32b29ae3007eb538731221b00d1945799ae.zip
fluxbox-cf56f32b29ae3007eb538731221b00d1945799ae.tar.bz2
Remove unused variables, cosmetics
Diffstat (limited to 'src')
-rw-r--r--src/Remember.cc32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 626522c..9b1233e 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -1321,28 +1321,28 @@ void Remember::setupFrame(FluxboxWindow &win) {
1321 1321
1322 int win_w, win_h; 1322 int win_w, win_h;
1323 if(app->dimension_is_relative) { 1323 if(app->dimension_is_relative) {
1324 int head = screen.getHead(win.fbWindow()); 1324 int head = screen.getHead(win.fbWindow());
1325 int screen_y = screen.maxBottom(head) - screen.maxTop(head); 1325 win_w = screen.calRelativeWidth(head, app->w);
1326 win_w = screen.calRelativeWidth(head, app->w); 1326 win_h = screen.calRelativeHeight(head, app->h);
1327 win_h = screen.calRelativeHeight(head, app->h);
1328 } else { 1327 } else {
1329 win_w = app->w; 1328 win_w = app->w;
1330 win_h = app->h; 1329 win_h = app->h;
1331 } 1330 }
1332 win.resize(win_w, win_h); 1331 win.resize(win_w, win_h);
1333 } 1332 }
1334 1333
1335 if (app->position_remember) { 1334 if (app->position_remember) {
1336 int newx, newy; 1335 int newx, newy;
1337 if(app->position_is_relative) { 1336 if(app->position_is_relative) {
1338 int head = screen.getHead(win.fbWindow()); 1337 int head = screen.getHead(win.fbWindow());
1339 newx = screen.calRelativeWidth(head, app->x); 1338 newx = screen.calRelativeWidth(head, app->x);
1340 newy = screen.calRelativeHeight(head, app->y); 1339 newy = screen.calRelativeHeight(head, app->y);
1341 } else { 1340 } else {
1342 newx = app->x, newy = app->y; 1341 newx = app->x;
1343 } 1342 newy = app->y;
1344 win.translateCoords(newx, newy, app->refc); 1343 }
1345 win.move(newx, newy); 1344 win.translateCoords(newx, newy, app->refc);
1345 win.move(newx, newy);
1346 } 1346 }
1347 1347
1348 if (app->shadedstate_remember) 1348 if (app->shadedstate_remember)