mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
Impliment i3-style marks
This commit adds three commands to sway: `show_marks`, `mark` and `unmark`. Marks are displayed right-aligned in the window border as i3 does. Marks may be found using criteria. Fixes #1007
This commit is contained in:
parent
ab7570d311
commit
2445d27960
12 changed files with 189 additions and 0 deletions
|
|
@ -61,6 +61,10 @@ static void free_swayc(swayc_t *cont) {
|
|||
}
|
||||
list_free(cont->floating);
|
||||
}
|
||||
if (cont->marks) {
|
||||
list_foreach(cont->marks, free);
|
||||
list_free(cont->marks);
|
||||
}
|
||||
if (cont->parent) {
|
||||
remove_child(cont);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue