diff options
author | 2018-07-14 11:10:36 +0100 | |
---|---|---|
committer | 2018-08-01 16:57:15 +0100 | |
commit | 317217f2c87aba4463806e211c22296ac9230b6c (patch) | |
tree | dade74c4b5a98b4f1e71e28aad771e6726b0e9a3 /sway/commands/mark.c | |
parent | ipc: add barconfig_update event on config reload (diff) | |
download | sway-317217f2c87aba4463806e211c22296ac9230b6c.tar.gz sway-317217f2c87aba4463806e211c22296ac9230b6c.tar.zst sway-317217f2c87aba4463806e211c22296ac9230b6c.zip |
ipc: add window::mark event
Diffstat (limited to 'sway/commands/mark.c')
-rw-r--r-- | sway/commands/mark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/mark.c b/sway/commands/mark.c index 5a897e69..9ea8c301 100644 --- a/sway/commands/mark.c +++ b/sway/commands/mark.c | |||
@@ -58,7 +58,7 @@ struct cmd_results *cmd_mark(int argc, char **argv) { | |||
58 | view_find_and_unmark(mark); | 58 | view_find_and_unmark(mark); |
59 | 59 | ||
60 | if (!toggle || !had_mark) { | 60 | if (!toggle || !had_mark) { |
61 | list_add(view->marks, strdup(mark)); | 61 | view_add_mark(view, mark); |
62 | } | 62 | } |
63 | 63 | ||
64 | free(mark); | 64 | free(mark); |