xserver/Xext
Michel Dänzer d33b3bf41b Xext: Fix cursor reference counting hazard.
Make sure the reference count of the new cursor is increased before the old
one is decreased, otherwise bad things will happen if they're one and the
same and the reference count is 1 initially. Not sure this can actually happen
here, but better safe than sorry.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 3083c5d0c4)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-09 10:49:56 +10:00
..
bigreq.c Xext: silence 'warning: no previous prototype' for sync, bigreq and xcmisc. 2009-09-21 09:17:56 +10:00
dpms.c Don't reset the lastDeviceEventTime when doing DPMS actions 2009-08-17 11:18:38 +10:00
dpmsproc.h DPMS: Remove unused DPMSGet() 2009-04-03 18:22:20 -04:00
dpmsstubs.c DPMS: Remove unused DPMSGet() 2009-04-03 18:22:20 -04:00
geext.c Xext: Fix a memory leak on GE client disconnect. 2009-11-25 15:26:30 +10:00
geext.h Xext: remove ev_fill from GEExtensions. 2009-03-20 15:17:54 +10:00
geint.h Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
Makefile.am Xext: Link to external libraries when necessary. 2010-03-12 14:39:19 +10:00
mbuf.c Xext: switch mbuf.c to dixLookupResourceByType 2009-09-22 11:14:00 +10:00
mbufbf.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mbufpx.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
panoramiX.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
panoramiX.h Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
panoramiXh.h Centralize declaration of ConnectionInfo. 2008-08-20 13:14:34 -04:00
panoramiXprocs.c Xext: switch to byte counting functions 2009-07-14 10:14:01 +10:00
panoramiXsrv.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
panoramiXSwap.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
saver.c Xext: Fix cursor reference counting hazard. 2010-04-09 10:49:56 +10:00
security.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
securitysrv.h Xext: include security protocol header instead of client header 2009-09-20 19:57:01 +10:00
shape.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
shm.c Fix ShmPutImage non-ZPixmap case. 2009-09-30 10:04:55 +10:00
shmint.h Update to xextproto 7.0.99.1. 2009-07-15 17:00:05 +10:00
sleepuntil.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
sleepuntil.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
sync.c Xext: fix up wrong conditions for negative sync transitions. 2009-08-14 07:49:52 +10:00
syncsrv.h Xext: silence 'warning: no previous prototype' for sync, bigreq and xcmisc. 2009-09-21 09:17:56 +10:00
xace.c Correct outdated e-mail address in "Author" statements. 2009-09-02 17:56:52 -04:00
xace.h Correct outdated e-mail address in "Author" statements. 2009-09-02 17:56:52 -04:00
xacestr.h Correct outdated e-mail address in "Author" statements. 2009-09-02 17:56:52 -04:00
xcalibrate.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
xcmisc.c Xext: silence 'warning: no previous prototype' for sync, bigreq and xcmisc. 2009-09-21 09:17:56 +10:00
xf86bigfont.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
xres.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
xselinux.c xselinux: Rename window-related requests that now support pixmaps. 2010-02-23 16:58:41 -05:00
xselinux.h xselinux: Bump extension minor version. 2010-02-23 16:58:52 -05:00
xtest.c Xext: don't try to initialize XTEST device properties if they failed. 2009-09-10 09:48:05 +10:00
xvdisp.c Update to xextproto 7.0.99.1. 2009-07-15 17:00:05 +10:00
xvdisp.h Fix swapped Xv dispatch under Xinerama. 2007-12-02 14:15:36 -05:00
xvdix.h Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
xvmain.c Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
xvmc.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
xvmcext.h Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00