mirror of
https://github.com/labwc/labwc.git
synced 2026-03-10 05:33:47 -04:00
Set node position in xdg/xwayland commit handlers
...in order to sync resize/move events to avoid left/bottom edge wobbling when resizing with top/left resize edges
This commit is contained in:
parent
581a2bb2f1
commit
f4c9d1ba9f
3 changed files with 8 additions and 3 deletions
|
|
@ -57,6 +57,8 @@ handle_commit(struct wl_listener *listener, void *data)
|
|||
if (serial == view->xdg_surface->current.configure_serial) {
|
||||
view->pending_move_resize.configure_serial = 0;
|
||||
}
|
||||
wlr_scene_node_set_position(&view->scene_tree->node,
|
||||
view->x, view->y);
|
||||
}
|
||||
ssd_update_geometry(view);
|
||||
damage_view_part(view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue