diff options
author | Drew DeVault <[email protected]> | 2016-05-31 10:29:44 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2016-05-31 10:29:44 -0400 |
commit | df8caa29a71f041a8e94ff410274a598abfe9a81 (patch) | |
tree | 9665fbaac9e2f7d099d7c54715404032ea406551 /sway/handlers.c | |
parent | 7f6b3d1c1f0727c8db623c18cc8a4fd948be995d (diff) | |
parent | 3c4c62301290991b790b90c840d18b398e0522c8 (diff) |
Merge pull request #685 from thuck/floating_size
Initial work for floating view with sane values
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 931e1340..f8dd9f4d 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -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; |