]> git.mdlowis.com Git - proto/labwc.git/commit
src/cursor.c: fix invisible cursor on output loss / restore
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 27 Mar 2023 22:58:42 +0000 (00:58 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 29 Mar 2023 20:39:11 +0000 (21:39 +0100)
commit4cd8afa83eaa37c1400a3474aa6a111665f8aaef
tree23d3203198c8d1369f68ccdac20e42f8df62fca1
parenta8e0248f477f39a05491a0592a4faedbf7092e79
src/cursor.c: fix invisible cursor on output loss / restore

Previously, the cursor image was only updated on output loss when the
cursor was on a labwc owned surface. This patch forces a re-enter of a
client surface in the remaining case of cursor being over a non-labwc
surface which causes the client to re-set its own cursor image.

This fixes a regression caused by 4dc99e2f3856650f3b61778f015a823cfae978d2.
Thanks to @Flrian for finding the root cause of the issue.

Fixes #820

Reported-by: @Flrian
Tested-by: @Flrian
src/cursor.c