cursor: Allow re-enter for cursor_update_focus()

This allows forcing an application to re-set their desired cursor image.
This commit is contained in:
Consolatis 2022-09-11 07:08:28 +02:00 committed by Johan Malm
parent 1483158b26
commit c0f0e0c46e
5 changed files with 15 additions and 12 deletions

View file

@ -149,7 +149,7 @@ view_moved(struct view *view)
wlr_scene_node_set_position(&view->scene_tree->node, view->x, view->y);
view_discover_output(view);
ssd_update_geometry(view);
cursor_update_focus(view->server);
cursor_update_focus(view->server, false);
}
/* N.B. Use view_move() if not resizing. */