summaryrefslogtreecommitdiff
path: root/Xi/Makefile.am
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-05-03 15:07:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-05-15 19:16:59 +1000
commit481702101b86fff003430e952dc65fb41eb56400 (patch)
tree26accb98d27d7062a7f5d6c29cb70eefae60d06e /Xi/Makefile.am
parent3093f78d17e48a506aab170a9089cd10e21af299 (diff)
dix: fix cursor refcounting
The cursor is referenced during CopyGrab(), thus doesn't need to be handled manually anymore. It does need to be refcounted for temp grabs though. The oldGrab handling in ProcGrabPointer is a leftover from the cursor in the grab being refcounted, but the grab itself being a static struct in the DeviceIntRec. Now that all grabs are copied, this lead to a double-free of the cursor (Reproduced in Thunderbird, dragging an email twice (or more often) causes a crash). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/Makefile.am')
0 files changed, 0 insertions, 0 deletions