diff options
author | Tiago Vignatti <vignatti@c3sl.ufpr.br> | 2008-05-07 01:07:44 -0300 |
---|---|---|
committer | Tiago Vignatti <vignatti@c3sl.ufpr.br> | 2008-05-07 01:07:44 -0300 |
commit | 254299d06eba2ede820f1fe2929a4b247ead39b1 (patch) | |
tree | 48f8a9d376819db0defd71ca6abb1d376fcb9b9f | |
parent | 0c61ccde7857dc7514881636144f95df51edaddf (diff) |
For compatibility, accept SWcursor as option.
-rw-r--r-- | src/mga_driver.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c index c5d27ef..8c63859 100644 --- a/src/mga_driver.c +++ b/src/mga_driver.c @@ -1829,6 +1829,13 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags) } /* For compatibility, accept this too (as an override) */ + if (xf86ReturnOptValBool(pMga->Options, OPTION_SW_CURSOR, FALSE)) { + from = X_CONFIG; + pMga->HWCursor = FALSE; + } + xf86DrvMsg(pScrn->scrnIndex, from, "Using %s cursor\n", + pMga->HWCursor ? "HW" : "SW"); + if (xf86ReturnOptValBool(pMga->Options, OPTION_NOACCEL, FALSE)) { pMga->NoAccel = TRUE; xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Acceleration disabled\n"); |