aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bind.c
diff options
context:
space:
mode:
authorsghctoma <sghctoma@gmail.com>2018-09-03 08:57:17 +0200
committersghctoma <sghctoma@gmail.com>2018-09-03 08:57:17 +0200
commitdf730a88919b078093dbc322926ada219a60d036 (patch)
treef2837f24092c7be5dfccdf448e47062cb5718549 /sway/commands/bind.c
parent67188b7cba2a985926647e049ed32c72b6ee98c8 (diff)
parentc9276f04c9fae7a211164003bc9cb8b4369db5fd (diff)
downloadsway-df730a88919b078093dbc322926ada219a60d036.tar.xz
Merge remote-tracking branch 'upstream/master' into fix-freebsd-build
Diffstat (limited to 'sway/commands/bind.c')
-rw-r--r--sway/commands/bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c
index 8270b958..b134c92f 100644
--- a/sway/commands/bind.c
+++ b/sway/commands/bind.c
@@ -310,7 +310,7 @@ void seat_execute_command(struct sway_seat *seat, struct sway_binding *binding)
bool reload = false;
// if this is a reload command we need to make a duplicate of the
// binding since it will be gone after the reload has completed.
- if (strcasecmp(binding->command, "reload") == 0) {
+ if (strcasestr(binding->command, "reload")) {
reload = true;
binding_copy = sway_binding_dup(binding);
if (!binding_copy) {