Fix moving views when resizing below min size

This commit is contained in:
emersion 2017-11-03 14:49:15 +01:00
parent ec11a95d0c
commit cf713edc10
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
6 changed files with 159 additions and 66 deletions

View file

@ -120,7 +120,7 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) {
surface->parent);
if (i != -1) {
struct roots_view *parent = desktop->views->items[i];
view_set_position(view,
view_move(view,
parent->x + surface->transient_state->x,
parent->y + surface->transient_state->y);
}