diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-19 16:01:16 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-25 11:55:04 +0100 |
commit | 80bb9d0fdbc805fdd597874c6c9beaeea9d81588 (patch) | |
tree | 0d03fbc046b829a3fe572e843db443f425333ea6 /hw | |
parent | d0ea4e49643d9002af7cd5e927815c96cfed9d06 (diff) |
xf86/cursor: fallback to sw cursor if we have slaves present.
Current USB devices have no hw rendered cursors, so we need the
master GPU to render the cursor, so whenever we plug in a
slave device, fallback to sw rendered cursors.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/ramdac/xf86Cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/ramdac/xf86Cursor.c b/hw/xfree86/ramdac/xf86Cursor.c index 8b91e0574..8d48a7542 100644 --- a/hw/xfree86/ramdac/xf86Cursor.c +++ b/hw/xfree86/ramdac/xf86Cursor.c @@ -336,7 +336,7 @@ xf86CursorSetCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCurs, if (!infoPtr->pScrn->vtSema) ScreenPriv->SavedCursor = pCurs; - if (infoPtr->pScrn->vtSema && + if (infoPtr->pScrn->vtSema && xorg_list_is_empty(&pScreen->pixmap_dirty_list) && (ScreenPriv->ForceHWCursorCount || (( #ifdef ARGB_CURSOR |