mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Initial work for floating view with sane values
This commit is contained in:
parent
9d7d73df7f
commit
f1d5b89d3e
5 changed files with 40 additions and 0 deletions
|
|
@ -350,6 +350,7 @@ static void handle_view_geometry_request(wlc_handle handle, const struct wlc_geo
|
|||
view->desired_height = geometry->size.h;
|
||||
|
||||
if (view->is_floating) {
|
||||
floating_view_sane_size(view);
|
||||
view->width = view->desired_width;
|
||||
view->height = view->desired_height;
|
||||
view->x = geometry->origin.x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue