mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Refactor view_move_resize()
This commit is contained in:
parent
57588aa173
commit
e0770a5672
5 changed files with 8 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue