diff options
author | Ben Brown <benjamb@pm.me> | 2019-09-02 15:00:41 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-09-02 17:06:38 +0300 |
commit | b46c53957f0cf0c342737d0872e5b885a11793e2 (patch) | |
tree | ab40ee8ed10f7eb3c492dd93655bfe21fb1c4171 | |
parent | 1b396273bbd5a666bf91018c9764c0eedc1bcbee (diff) |
Fix typo for the force/immediate option in xwayland_mode enum
-rw-r--r-- | include/sway/config.h | 2 | ||||
-rw-r--r-- | sway/commands/xwayland.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index ae6e6750..0031db42 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -427,7 +427,7 @@ enum alignment { enum xwayland_mode { XWAYLAND_MODE_DISABLED, XWAYLAND_MODE_LAZY, - XWAYLAND_MODE_IMMEADIATE + XWAYLAND_MODE_IMMEDIATE }; /** diff --git a/sway/commands/xwayland.c b/sway/commands/xwayland.c index 38559f55..6ca26923 100644 --- a/sway/commands/xwayland.c +++ b/sway/commands/xwayland.c @@ -13,7 +13,7 @@ struct cmd_results *cmd_xwayland(int argc, char **argv) { #ifdef HAVE_XWAYLAND enum xwayland_mode xwayland; if (strcmp(argv[0], "force") == 0) { - xwayland = XWAYLAND_MODE_IMMEADIATE; + xwayland = XWAYLAND_MODE_IMMEDIATE; } else if (parse_boolean(argv[0], true)) { xwayland = XWAYLAND_MODE_LAZY; } else { |