aboutsummaryrefslogtreecommitdiff
path: root/include/sway
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 /include/sway
parentfe24f58297b4fb7bad94a5bad1593f12a764356c (diff)
parentf0212d66eee61517ab1bb0f8bb68784d50e14c9a (diff)
Merge pull request #1982 from RyanDwyer/show-marks
Implement show_marks
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/tree/view.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 7ed4d3df..951912d0 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -63,6 +63,11 @@ struct sway_view {
list_t *executed_criteria; // struct criteria *
list_t *marks; // char *
+ struct wlr_texture *marks_focused;
+ struct wlr_texture *marks_focused_inactive;
+ struct wlr_texture *marks_unfocused;
+ struct wlr_texture *marks_urgent;
+
union {
struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6;
struct wlr_xdg_surface *wlr_xdg_surface;
@@ -267,4 +272,6 @@ void view_clear_marks(struct sway_view *view);
bool view_has_mark(struct sway_view *view, char *mark);
+void view_update_marks_textures(struct sway_view *view);
+
#endif