summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-05-16 21:54:16 -0400
committerLibravatar GitHub <noreply@github.com>2018-05-16 21:54:16 -0400
commitc2c5a3f5f6bdc061acae4e0583c4fd85c7ed21ac (patch)
tree02f3205870487dbedb981a1770a6ec77c8894c15 /include
parentMerge pull request #1995 from RedSoxFan/fix-1985 (diff)
parentUpdate marks textures on output scale event (diff)
downloadsway-c2c5a3f5f6bdc061acae4e0583c4fd85c7ed21ac.tar.gz
sway-c2c5a3f5f6bdc061acae4e0583c4fd85c7ed21ac.tar.zst
sway-c2c5a3f5f6bdc061acae4e0583c4fd85c7ed21ac.zip
Merge pull request #1982 from RyanDwyer/show-marks
Implement show_marks
Diffstat (limited to 'include')
-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 {
63 list_t *executed_criteria; // struct criteria * 63 list_t *executed_criteria; // struct criteria *
64 list_t *marks; // char * 64 list_t *marks; // char *
65 65
66 struct wlr_texture *marks_focused;
67 struct wlr_texture *marks_focused_inactive;
68 struct wlr_texture *marks_unfocused;
69 struct wlr_texture *marks_urgent;
70
66 union { 71 union {
67 struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6; 72 struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6;
68 struct wlr_xdg_surface *wlr_xdg_surface; 73 struct wlr_xdg_surface *wlr_xdg_surface;
@@ -267,4 +272,6 @@ void view_clear_marks(struct sway_view *view);
267 272
268bool view_has_mark(struct sway_view *view, char *mark); 273bool view_has_mark(struct sway_view *view, char *mark);
269 274
275void view_update_marks_textures(struct sway_view *view);
276
270#endif 277#endif