diff options
author | Daniel Stone <daniel@fooishbar.org> | 2013-09-07 05:32:33 -0400 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2013-09-07 05:34:25 -0400 |
commit | 8c70ac66a13e64fd62729581697f5730ab0149cf (patch) | |
tree | d86000df96d488b27101def49272b655683d1edc | |
parent | e9e54b5738fb6d92065f1c830f058a0eb95ee8c6 (diff) |
Support new HW_WAYLAND flag
Signed-off-by: Daniel Stone <daniels@collabora.com>
-rw-r--r-- | src/wayland.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wayland.c b/src/wayland.c index 68cdfe9..8560541 100644 --- a/src/wayland.c +++ b/src/wayland.c @@ -568,6 +568,10 @@ wayland_available_options(int chipid, int busid) #define HW_SKIP_CONSOLE 4 #endif +#ifndef HW_WAYLAND +#define HW_WAYLAND 8 +#endif + static Bool wayland_driver_func(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr) { @@ -576,7 +580,7 @@ wayland_driver_func(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr) switch (op) { case GET_REQUIRED_HW_INTERFACES: flag = (CARD32*)ptr; - (*flag) = HW_SKIP_CONSOLE; + (*flag) = HW_WAYLAND; return TRUE; default: return FALSE; |