Initial work for floating view with sane values

This commit is contained in:
Denis Doria 2016-05-31 14:59:33 +02:00
parent 9d7d73df7f
commit f1d5b89d3e
5 changed files with 40 additions and 0 deletions

View file

@ -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;