From the patch: In the case that the device cursor was the first in the list of cursors the window knew about, unsetting the cursor could lead to a segfault due to pPrev being NULL. Instead catch the condition and correctly remove the node from the list. Since there is no cursor now set on the device, we simply return success as the parent windows cursor will propogate down later.
Created attachment 14324 [details] [review] git Fix for the bug
applied (with whitespace changes) and pushed as 660739c6bc84cb74f43a277052ce163fae654417 thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.