Merge pull request #2170 from apreiml/master

fix accidently removing borders on XCB_CONFIGURE_REQUEST
This commit is contained in:
emersion 2018-06-27 17:11:35 +01:00 committed by GitHub
commit 92e81df470
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -335,9 +335,9 @@ static void handle_request_configure(struct wl_listener *listener, void *data) {
return;
}
if (container_is_floating(view->swayc)) {
configure(view, view->swayc->x, view->swayc->y, ev->width, ev->height);
configure(view, view->x, view->y, ev->width, ev->height);
} else {
configure(view, view->swayc->x, view->swayc->y,
configure(view, view->x, view->y,
view->width, view->height);
}
}