mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
cursor: Update focus at various additional points
- When XDG and XWayland views are positioned (view_moved()). - When unmanaged XWayland surfaces are mapped, unmapped, or moved. Do not update cursor focus during an out-of-surface drag. Along with the existing call in desktop_move_to_front(), this should hopefully cover the majority of cases where the cursor focus could get out-of-date, with the possible exception of layer-shell surfaces.
This commit is contained in:
parent
2e81cc13d4
commit
469adc46d6
3 changed files with 11 additions and 1 deletions
|
|
@ -149,6 +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);
|
||||
}
|
||||
|
||||
/* N.B. Use view_move() if not resizing. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue