Change unmark implemention to match i3's

This commit is contained in:
Ryan Dwyer 2018-05-15 11:24:16 +10:00
parent 22d38600d0
commit 4d1edfcba9
4 changed files with 44 additions and 16 deletions

View file

@ -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));
}