mirror of
https://github.com/labwc/labwc.git
synced 2026-04-10 08:21:07 -04:00
Merge b9164e18c4 into 49c9466039
This commit is contained in:
commit
7196787b82
1 changed files with 0 additions and 14 deletions
|
|
@ -305,20 +305,6 @@ handle_request_configure(struct wl_listener *listener, void *data)
|
|||
int height = event->height;
|
||||
view_adjust_size(view, &width, &height);
|
||||
|
||||
/*
|
||||
* If a configure request is received while maximized/
|
||||
* fullscreen/tiled, update the natural geometry only. This
|
||||
* appears to be the desired behavior e.g. when starting VLC in
|
||||
* fullscreen mode.
|
||||
*/
|
||||
if (!view_is_floating(view)) {
|
||||
view->natural_geometry.x = event->x;
|
||||
view->natural_geometry.y = event->y;
|
||||
view->natural_geometry.width = width;
|
||||
view->natural_geometry.height = height;
|
||||
return;
|
||||
}
|
||||
|
||||
configure(view, (struct wlr_box){event->x, event->y, width, height});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue