mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
view: scale correctly in view_maximize()
This commit is contained in:
parent
620cd84a8a
commit
3efcfaf145
1 changed files with 0 additions and 2 deletions
|
|
@ -91,8 +91,6 @@ 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;
|
||||||
}
|
}
|
||||||
box.width /= output->wlr_output->scale;
|
|
||||||
box.height /= output->wlr_output->scale;
|
|
||||||
view_move_resize(view, box);
|
view_move_resize(view, box);
|
||||||
view->maximized = true;
|
view->maximized = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue