Bug 14506

Summary: [MPX]: [Patch] Handle XDeviceChangeCursor when desetting a cursor
Product: xorg Reporter: Benjamin Close <benjsc>
Component: Server/GeneralAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: low    
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
git Fix for the bug none

Description Benjamin Close 2008-02-14 19:27:38 UTC
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.
Comment 1 Benjamin Close 2008-02-14 19:28:19 UTC
Created attachment 14324 [details] [review]
git Fix for the bug
Comment 2 Peter Hutterer 2008-02-17 22:54:50 UTC
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.