summaryrefslogtreecommitdiff
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-08-06 11:30:14 -0400
committerGitHub <[email protected]>2018-08-06 11:30:14 -0400
commit1a8bee68b40f641f57adc97d0f2ffcf5e2ed544d (patch)
tree3df803a95c0a13f4dc9b627db505ba50d5e6a6d2 /include/sway/tree/view.h
parent0cd418ba42bf7fa9570a2c1c09cea153d3337c7a (diff)
parentf7c21451dfa7c4ffdce1307b5856707a0ed40405 (diff)
Merge pull request #2392 from ianyfan/commands
Fix commands: criteria, layout, move, workspace
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 37fd02bc..4a3f01e7 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -316,6 +316,11 @@ void view_update_title(struct sway_view *view, bool force);
void view_execute_criteria(struct sway_view *view);
/**
+ * Find any view that has the given mark and return it.
+ */
+struct sway_view *view_find_mark(char *mark);
+
+/**
* Find any view that has the given mark and remove the mark from the view.
* Returns true if it matched a view.
*/