Add dummy backend

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-08-04 17:52:45 +01:00
parent d702fc9365
commit 8eb9d07fa8
7 changed files with 174 additions and 6 deletions

View File

@ -80,10 +80,11 @@ const char *const WINTYPES[NUM_WINTYPES] = {
};
/// Names of backends.
const char *const BACKEND_STRS[NUM_BKEND + 1] = {"xrender", // BKEND_XRENDER
"glx", // BKEND_GLX
"xr_glx_hybrid", // BKEND_XR_GLX_HYBRID
NULL};
const char *const BACKEND_STRS[] = {[BKEND_XRENDER] = "xrender",
[BKEND_GLX] = "glx",
[BKEND_XR_GLX_HYBRID] = "xr_glx_hybrid",
[BKEND_DUMMY] = "dummy",
NULL};
// === Global variables ===