xserver/hw
Jesse Barnes 5c54e7fa00 DRI2: handle swapsPending better
Avoid a potential swapsPending underflow by incrementing it before
ScheduleSwap, which may complete it immediately.  And be sure to
decrement it again in case the schedule failed.

Reported-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Reviewed-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
(cherry picked from commit b00d435ddf)
2010-05-21 13:55:30 +10:00
..
dmx dmxBERestoreRenderGlyph was passing wrong value to free 2010-05-18 14:43:00 +10:00
kdrive kdrive: Bump evdev maxKeycode 2010-03-24 14:03:51 +01:00
vfb Xvfb: Usage message typo fix. 2010-04-23 13:42:34 +10:00
xfree86 DRI2: handle swapsPending better 2010-05-21 13:55:30 +10:00
xnest Fix .man.N targets for AM_SILENT_RULES 2010-03-22 00:45:55 -05:00
xquartz XQuartz: Fix a build failure on Tiger 2010-05-17 09:12:34 -07:00
xwin Cygwin/X: Make X -> XWin symlink during install 2010-03-22 00:48:33 -05:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00