xserver/hw/xfree86/modes
Keith Packard 08fc33042c hw/xfree86: Fix block handler wrapping in xf86Rotate
xf86Rotate, it was delaying unwrapping the BlockHandler until after
calling xf86RotateRedisplay. If there was a software cursor on the
screen, the redisplay operation would cause cursor to be removed from
the frame buffer and the misprite block handler to be inserted into
the block handler chain with the misprite screen private saved block
handler now set to xf86RotateBlockHandler.

When xf86RotateRedisplay returned, xf86RotateBlockHandler would then
set screen->BlockHandler to its saved value, call down and then reset
screen->BlockHandler to xf86RotateBlockHandler. miSpriteBlockHandler
would never be called after that, which meant that the software cursor
will now disappear from the screen whenever rendering overlapped and
would only reappear when the cursor was moved.

To correct this, all that is needed is to move the restoration of
screen->BlockHandler to the top of xf86RotateBlockHandler, before the
call to xf86RotateRedisplay.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2014-07-17 11:17:15 -07:00
..
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
xf86Crtc.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
xf86Crtc.h hw/xfree86: Restore API compatibility for cursor loading functions 2014-04-25 14:41:52 -07:00
xf86Cursors.c hw/xfree86: Restore API compatibility for cursor loading functions 2014-04-25 14:41:52 -07:00
xf86DiDGA.c xf86dga: handle DGAAvailable for gpu screens. (v2) 2012-07-07 10:37:10 +01:00
xf86DisplayIDModes.c Define prototypes for hw/xfree86/modes/xf86Modes.c only in xf86Modes.h. 2013-04-08 09:19:34 -07:00
xf86EdidModes.c edid: Add quirk for Sony Vaio Pro 13 2014-01-30 16:27:59 -08:00
xf86Modes.c xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xf86Modes.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86RandR12.c xf86RandR12: use correct gamma size when allocating gamma table 2014-04-21 22:27:09 -07:00
xf86RandR12.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86Rotate.c hw/xfree86: Fix block handler wrapping in xf86Rotate 2014-07-17 11:17:15 -07:00
xf86cvt.c xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xf86gtf.c xfree86 warning reduction 2014-01-12 10:14:49 -08:00