mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
view: scale view_maximize()
This commit is contained in:
parent
6737aeabcd
commit
8898693160
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ view_maximize(struct view *view, bool maximize)
|
||||||
box.width -= border.right + border.left;
|
box.width -= border.right + border.left;
|
||||||
box.height -= border.top + border.bottom;
|
box.height -= border.top + border.bottom;
|
||||||
}
|
}
|
||||||
scale_box(&box, output->scale);
|
scale_box(&box, 1 / output->scale);
|
||||||
view_move_resize(view, box);
|
view_move_resize(view, box);
|
||||||
view_move(view, box.x, box.y);
|
view_move(view, box.x, box.y);
|
||||||
view->maximized = true;
|
view->maximized = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue