summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>2014-03-30 02:28:01 +0400
committerSiarhei Siamashka <siarhei.siamashka@gmail.com>2014-03-30 02:28:01 +0400
commit154ebf4b69ee7f103539b7e6f60c3f89a6273698 (patch)
tree161f46159ce6e5f0ed500ff6f78c61cb21cb3a98
parent8dec039ed5f2205cb1306f57e0af27a1d4f2dfec (diff)
downloadxf86-video-fbturbo-154ebf4b69ee7f103539b7e6f60c3f89a6273698.tar.xz
Don't use hardware cursor for rotated desktop
Fixes https://github.com/ssvb/xf86-video-fbturbo/issues/30 Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
-rw-r--r--src/fbdev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fbdev.c b/src/fbdev.c
index 90d9f39..2bbee6e 100644
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -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(