aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/backend.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-12 11:19:13 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-06-12 12:42:31 +0000
commit6e8fb5509f2c94d09d4efa0f9b1f40b37bf73863 (patch)
tree9092c31860858f1c78e1e103e6d50aba6baa0bfc /backend/x11/backend.c
parent05dd08afe569083c24a1c0a416b7dc593a41c14b (diff)
cursor: only reset the cursor when the surface changes
If the set_cursor request is used with the same surface, don't call cursor_output_cursor_reset_image(). That function sends wl_surface.leave and can cause an infinite feedback loop with some clients (submitting a LoDPI cursor when the surface leaves an HiDPI output). Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3669
Diffstat (limited to 'backend/x11/backend.c')
0 files changed, 0 insertions, 0 deletions