Fix typo for the force/immediate option in xwayland_mode enum

This commit is contained in:
Ben Brown 2019-09-02 15:00:41 +01:00 committed by Simon Ser
parent 1b396273bb
commit b46c53957f
2 changed files with 2 additions and 2 deletions

View file

@ -427,7 +427,7 @@ enum alignment {
enum xwayland_mode { enum xwayland_mode {
XWAYLAND_MODE_DISABLED, XWAYLAND_MODE_DISABLED,
XWAYLAND_MODE_LAZY, XWAYLAND_MODE_LAZY,
XWAYLAND_MODE_IMMEADIATE XWAYLAND_MODE_IMMEDIATE
}; };
/** /**

View file

@ -13,7 +13,7 @@ struct cmd_results *cmd_xwayland(int argc, char **argv) {
#ifdef HAVE_XWAYLAND #ifdef HAVE_XWAYLAND
enum xwayland_mode xwayland; enum xwayland_mode xwayland;
if (strcmp(argv[0], "force") == 0) { if (strcmp(argv[0], "force") == 0) {
xwayland = XWAYLAND_MODE_IMMEADIATE; xwayland = XWAYLAND_MODE_IMMEDIATE;
} else if (parse_boolean(argv[0], true)) { } else if (parse_boolean(argv[0], true)) {
xwayland = XWAYLAND_MODE_LAZY; xwayland = XWAYLAND_MODE_LAZY;
} else { } else {