aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/unmark.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-05-16 21:54:16 -0400
committerGitHub <noreply@github.com>2018-05-16 21:54:16 -0400
commitc2c5a3f5f6bdc061acae4e0583c4fd85c7ed21ac (patch)
tree02f3205870487dbedb981a1770a6ec77c8894c15 /sway/commands/unmark.c
parentfe24f58297b4fb7bad94a5bad1593f12a764356c (diff)
parentf0212d66eee61517ab1bb0f8bb68784d50e14c9a (diff)
Merge pull request #1982 from RyanDwyer/show-marks
Implement show_marks
Diffstat (limited to 'sway/commands/unmark.c')
-rw-r--r--sway/commands/unmark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/unmark.c b/sway/commands/unmark.c
index ea2a5709..1ce2c56b 100644
--- a/sway/commands/unmark.c
+++ b/sway/commands/unmark.c
@@ -10,6 +10,7 @@
static void remove_all_marks_iterator(struct sway_container *con, void *data) {
if (con->type == C_VIEW) {
view_clear_marks(con->sway_view);
+ view_update_marks_textures(con->sway_view);
}
}
@@ -45,6 +46,7 @@ struct cmd_results *cmd_unmark(int argc, char **argv) {
} else if (view && !mark) {
// Clear all marks from the given view
view_clear_marks(view);
+ view_update_marks_textures(view);
} else if (!view && mark) {
// Remove mark from whichever view has it
view_find_and_unmark(mark);