mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
ipc: add window::mark event
This commit is contained in:
parent
dd6debf367
commit
317217f2c8
4 changed files with 21 additions and 5 deletions
|
|
@ -58,7 +58,7 @@ struct cmd_results *cmd_mark(int argc, char **argv) {
|
|||
view_find_and_unmark(mark);
|
||||
|
||||
if (!toggle || !had_mark) {
|
||||
list_add(view->marks, strdup(mark));
|
||||
view_add_mark(view, mark);
|
||||
}
|
||||
|
||||
free(mark);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue