]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: Update focus at various additional points
authorJohn Lindgren <john@jlindgren.net>
Sat, 3 Sep 2022 21:46:53 +0000 (17:46 -0400)
committerJohn Lindgren <john@jlindgren.net>
Tue, 6 Sep 2022 22:22:17 +0000 (18:22 -0400)
commit469adc46d62977073e58e627e4bc03babc9517db
tree4ed6eff1b97761e143f6b15754655efd0364cb2b
parent2e81cc13d4beaab3c92d03285c7cb2a8f669f81f
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.
src/cursor.c
src/view.c
src/xwayland-unmanaged.c