Refactor view_move_resize()

This commit is contained in:
Johan Malm 2020-12-22 20:35:06 +00:00
parent 57588aa173
commit e0770a5672
5 changed files with 8 additions and 15 deletions

View file

@ -50,6 +50,8 @@ handle_request_configure(struct wl_listener *listener, void *data)
static void
configure(struct view *view, struct wlr_box geo)
{
view->x = geo.x;
view->y = geo.y;
wlr_xwayland_surface_configure(view->xwayland_surface, (int16_t)geo.x,
(int16_t)geo.y, (uint16_t)geo.width,
(uint16_t)geo.height);