mirror of
https://github.com/swaywm/sway.git
synced 2026-06-13 14:33:19 -04:00
Correct typo
This commit is contained in:
parent
06575b00ed
commit
1706318afc
1 changed files with 1 additions and 1 deletions
|
|
@ -325,7 +325,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
|
||||||
new_geo->width = view->wlr_xdg_toplevel->current.max_width;
|
new_geo->width = view->wlr_xdg_toplevel->current.max_width;
|
||||||
}
|
}
|
||||||
if (view->wlr_xdg_toplevel->current.max_height > 0 &&
|
if (view->wlr_xdg_toplevel->current.max_height > 0 &&
|
||||||
new_geo->height < view->wlr_xdg_toplevel->current.max_height) {
|
new_geo->height > view->wlr_xdg_toplevel->current.max_height) {
|
||||||
new_geo->height = view->wlr_xdg_toplevel->current.max_height;
|
new_geo->height = view->wlr_xdg_toplevel->current.max_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue