diff options
Diffstat (limited to 'src/dummy_driver.c')
-rw-r--r-- | src/dummy_driver.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c index 560b9b5..f68cfc9 100644 --- a/src/dummy_driver.c +++ b/src/dummy_driver.c @@ -792,6 +792,9 @@ DUMMYCreateWindow(WindowPtr pWin) return TRUE; } +#ifndef HW_SKIP_CONSOLE +#define HW_SKIP_CONSOLE 4 +#endif static Bool dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr) @@ -801,7 +804,7 @@ dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr) switch (op) { case GET_REQUIRED_HW_INTERFACES: flag = (CARD32*)ptr; - (*flag) = 0; + (*flag) = HW_SKIP_CONSOLE; return TRUE; default: return FALSE; |