mirror of
https://github.com/labwc/labwc.git
synced 2026-04-06 07:15:40 -04:00
Log invalid windowSwitcher order values
This commit is contained in:
parent
eecba25242
commit
0a74b4a6b0
1 changed files with 3 additions and 0 deletions
|
|
@ -1238,6 +1238,9 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
rc.window_switcher.order = WINDOW_SWITCHER_ORDER_FOCUS;
|
||||
} else if (!strcasecmp(content, "age")) {
|
||||
rc.window_switcher.order = WINDOW_SWITCHER_ORDER_AGE;
|
||||
} else {
|
||||
wlr_log(WLR_ERROR, "Invalid windowSwitcher order %s: "
|
||||
"should be one of focus|age", content);
|
||||
}
|
||||
|
||||
/* The following two are for backward compatibility only. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue