mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
view.c: remove cruft in view_apply_maximized_geometry()
This commit is contained in:
parent
a9f927047a
commit
130bbc9e6f
1 changed files with 0 additions and 8 deletions
|
|
@ -1302,14 +1302,6 @@ view_apply_maximized_geometry(struct view *view)
|
||||||
assert(output_is_usable(output));
|
assert(output_is_usable(output));
|
||||||
|
|
||||||
struct wlr_box box = output_usable_area_in_layout_coords(output);
|
struct wlr_box box = output_usable_area_in_layout_coords(output);
|
||||||
if (box.height == output->wlr_output->height
|
|
||||||
&& output->wlr_output->scale != 1) {
|
|
||||||
box.height /= output->wlr_output->scale;
|
|
||||||
}
|
|
||||||
if (box.width == output->wlr_output->width
|
|
||||||
&& output->wlr_output->scale != 1) {
|
|
||||||
box.width /= output->wlr_output->scale;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If one axis (horizontal or vertical) is unmaximized, it
|
* If one axis (horizontal or vertical) is unmaximized, it
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue