mirror of
https://github.com/labwc/labwc.git
synced 2026-02-25 01:40:28 -05:00
Refactor view_move_resize()
This commit is contained in:
parent
57588aa173
commit
e0770a5672
5 changed files with 8 additions and 15 deletions
|
|
@ -133,6 +133,8 @@ handle_request_resize(struct wl_listener *listener, void *data)
|
|||
static void
|
||||
xdg_toplevel_view_configure(struct view *view, struct wlr_box geo)
|
||||
{
|
||||
view->x = geo.x;
|
||||
view->y = geo.y;
|
||||
wlr_xdg_toplevel_set_size(view->xdg_surface, (uint32_t)geo.width,
|
||||
(uint32_t)geo.height);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue