summaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-09-29 07:43:50 -0400
committerDrew DeVault <[email protected]>2015-09-29 07:43:50 -0400
commitfe3b85d65ff84133cfbe43c11a5462beddbefaff (patch)
tree46356ae7b43ce6a2ea133771784a072294918f78 /sway/container.c
parentd7f8bbd35323e9d83b10ab9fbd8715ec4f1aaa8c (diff)
parent494499617090eccf73a0c75380ca884e77548a9f (diff)
Merge pull request #181 from taiyu-len/master
multi command keybinds
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/container.c b/sway/container.c
index 85b169a1..4c523827 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -405,7 +405,7 @@ swayc_t *swayc_by_test(swayc_t *container, bool (*test)(swayc_t *view, void *dat
}
static bool test_name(swayc_t *view, void *data) {
- if (!view && !view->name) {
+ if (!view || !view->name) {
return false;
}
return strcmp(view->name, data) == 0;