Commit 154ebf4b authored by Siarhei Siamashka's avatar Siarhei Siamashka
Browse files

Don't use hardware cursor for rotated desktop

Fixes https://github.com/ssvb/xf86-video-fbturbo/issues/30

Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
parent 8dec039e
......@@ -1056,7 +1056,8 @@ FBDevScreenInit(SCREEN_INIT_ARGS_DECL)
}
#endif
if (!xf86ReturnOptValBool(fPtr->Options, OPTION_SW_CURSOR, FALSE) &&
if (fPtr->rotate == FBDEV_ROTATE_NONE &&
!xf86ReturnOptValBool(fPtr->Options, OPTION_SW_CURSOR, FALSE) &&
xf86ReturnOptValBool(fPtr->Options, OPTION_HW_CURSOR, TRUE)) {
fPtr->SunxiDispHardwareCursor_private = SunxiDispHardwareCursor_Init(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment