mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
don't map cursors in sw cursor mode
This commit is contained in:
committed by
Dave Airlie
parent
d4eebe5217
commit
f47f6b6a53
@@ -551,7 +551,8 @@ CreateScreenResources(ScreenPtr pScreen)
|
||||
|
||||
drmmode_uevent_init(pScrn, &ms->drmmode);
|
||||
|
||||
drmmode_map_cursor_bos(pScrn, &ms->drmmode);
|
||||
if (!ms->SWCursor)
|
||||
drmmode_map_cursor_bos(pScrn, &ms->drmmode);
|
||||
pixels = drmmode_map_front_bo(&ms->drmmode);
|
||||
if (!pixels)
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user