aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/mark.c')
-rw-r--r--sway/commands/mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/mark.c b/sway/commands/mark.c
index 782e8ab9..b131f2f3 100644
--- a/sway/commands/mark.c
+++ b/sway/commands/mark.c
@@ -57,7 +57,7 @@ struct cmd_results *cmd_mark(int argc, char **argv) {
view_find_and_unmark(mark);
- if (!toggle || (toggle && !had_mark)) {
+ if (!toggle || !had_mark) {
list_add(view->marks, strdup(mark));
}