mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-10 23:33:46 +00:00
Suppress software cursor removal during rotated shadow buffer drawing.
This commit is contained in:
parent
28bb34eec6
commit
999b681cf3
4 changed files with 45 additions and 5 deletions
|
|
@ -39,6 +39,7 @@
|
|||
#include "xf86Crtc.h"
|
||||
#include "xf86Modes.h"
|
||||
#include "xf86RandR12.h"
|
||||
#include "misprite.h"
|
||||
#include "X11/extensions/render.h"
|
||||
#define DPMS_SERVER
|
||||
#include "X11/extensions/dpms.h"
|
||||
|
|
@ -279,7 +280,11 @@ xf86RotateRedisplay(ScreenPtr pScreen)
|
|||
if (REGION_NOTEMPTY(pScreen, region))
|
||||
{
|
||||
int c;
|
||||
|
||||
|
||||
#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(7,2,0,0,dummy)
|
||||
/* Disable software cursor removal for this drawing */
|
||||
miSpriteDrawInternal(pScreen, TRUE);
|
||||
#endif
|
||||
for (c = 0; c < xf86_config->num_crtc; c++)
|
||||
{
|
||||
xf86CrtcPtr crtc = xf86_config->crtc[c];
|
||||
|
|
@ -304,6 +309,9 @@ xf86RotateRedisplay(ScreenPtr pScreen)
|
|||
REGION_UNINIT (pScreen, &crtc_damage);
|
||||
}
|
||||
}
|
||||
#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(7,2,0,0,dummy)
|
||||
miSpriteDrawInternal(pScreen, FALSE);
|
||||
#endif
|
||||
DamageEmpty(damage);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue