aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-05-15 13:14:18 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-05-17 08:29:14 +1000
commit0e2cc0af3049c6d1b91bda3081238e2e723e81b7 (patch)
tree34a18b12524c8de5bf68712162071abe3e574d71 /include/sway
parentfe24f58297b4fb7bad94a5bad1593f12a764356c (diff)
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