st/xorg: Work around cursor reference counting bugs in older X servers.
authorMichel Dänzer <daenzer@vmware.com>
Wed, 10 Mar 2010 17:26:25 +0000 (18:26 +0100)
committerMichel Dänzer <daenzer@vmware.com>
Wed, 10 Mar 2010 17:26:25 +0000 (18:26 +0100)
commit766d90f1a201d8fd19e49df14d712efbb82223b4
tree5916177ac795c81af6dd6d7d58e1716f804fa058
parentffd625d4aaf145eb28fc76617e95ffc3fdfd54cc
st/xorg: Work around cursor reference counting bugs in older X servers.

Could result in use of freed memory and consequently random crashes, e.g. on
screen resize.
(cherry picked from commit 21c91b410a2a2cbf8eb677e59e3322f86320f2b0)

Conflicts:

src/gallium/state_trackers/xorg/xorg_tracker.h
src/gallium/state_trackers/xorg/xorg_crtc.c
src/gallium/state_trackers/xorg/xorg_driver.c
src/gallium/state_trackers/xorg/xorg_tracker.h