Remove unused variables, cosmetics
This commit is contained in:
parent
b039122182
commit
cf56f32b29
1 changed files with 16 additions and 16 deletions
|
@ -1322,7 +1322,6 @@ void Remember::setupFrame(FluxboxWindow &win) {
|
|||
int win_w, win_h;
|
||||
if(app->dimension_is_relative) {
|
||||
int head = screen.getHead(win.fbWindow());
|
||||
int screen_y = screen.maxBottom(head) - screen.maxTop(head);
|
||||
win_w = screen.calRelativeWidth(head, app->w);
|
||||
win_h = screen.calRelativeHeight(head, app->h);
|
||||
} else {
|
||||
|
@ -1339,7 +1338,8 @@ void Remember::setupFrame(FluxboxWindow &win) {
|
|||
newx = screen.calRelativeWidth(head, app->x);
|
||||
newy = screen.calRelativeHeight(head, app->y);
|
||||
} else {
|
||||
newx = app->x, newy = app->y;
|
||||
newx = app->x;
|
||||
newy = app->y;
|
||||
}
|
||||
win.translateCoords(newx, newy, app->refc);
|
||||
win.move(newx, newy);
|
||||
|
|
Loading…
Reference in a new issue