summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-07-15 16:21:41 -0400
committerJerome Glisse <jglisse@redhat.com>2010-07-15 16:21:41 -0400
commitcdeb1949c820242f05a8897d3ddd0718f204dacf (patch)
treed4f72744171387a0fb912a9302880a94765e59f7
parent06691376b1ee963c711420edaf5a03eab6f5658f (diff)
kms: don't call cursor helper if using software cursor
Fix : https://bugzilla.redhat.com/show_bug.cgi?id=601713 https://bugzilla.redhat.com/show_bug.cgi?id=598358 Signed-off-by: Jerome Glisse <jglisse@redhat.com>
-rw-r--r--src/drmmode_display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 1366b36d..e2d516b4 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -347,7 +347,8 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
}
}
- if (pScrn->pScreen)
+ if (pScrn->pScreen &&
+ !xf86ReturnOptValBool(info->Options, OPTION_SW_CURSOR, FALSE))
xf86_reload_cursors(pScrn->pScreen);
done: