Skip to content
Commit 6e8fb550 authored by Simon Ser's avatar Simon Ser Committed by Alexander Orzechowski
Browse files

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
parent 05dd08af
Loading
Loading
Loading
Pipeline #906769 passed with stage
in 2 minutes and 11 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment