mirror of
https://github.com/labwc/labwc.git
synced 2026-03-12 05:33:53 -04:00
src/view.c: rename unmaximized_geometry to natural_geometry
This commit is contained in:
parent
aab775c5b5
commit
1aef488bcc
1 changed files with 3 additions and 3 deletions
|
|
@ -438,7 +438,7 @@ view_apply_special_geometry(struct view *view)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
view_apply_unmaximized_geometry(struct view *view)
|
view_apply_natural_geometry(struct view *view)
|
||||||
{
|
{
|
||||||
struct wlr_output_layout *layout = view->server->output_layout;
|
struct wlr_output_layout *layout = view->server->output_layout;
|
||||||
if (wlr_output_layout_intersects(layout, NULL,
|
if (wlr_output_layout_intersects(layout, NULL,
|
||||||
|
|
@ -516,7 +516,7 @@ view_maximize(struct view *view, bool maximize, bool store_natural_geometry)
|
||||||
}
|
}
|
||||||
set_maximized(view, maximize);
|
set_maximized(view, maximize);
|
||||||
if (!view_apply_special_geometry(view)) {
|
if (!view_apply_special_geometry(view)) {
|
||||||
view_apply_unmaximized_geometry(view);
|
view_apply_natural_geometry(view);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -652,7 +652,7 @@ view_set_fullscreen(struct view *view, bool fullscreen,
|
||||||
}
|
}
|
||||||
/* Restore non-fullscreen geometry */
|
/* Restore non-fullscreen geometry */
|
||||||
if (!view_apply_special_geometry(view)) {
|
if (!view_apply_special_geometry(view)) {
|
||||||
view_apply_unmaximized_geometry(view);
|
view_apply_natural_geometry(view);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue