Implement show_marks

This commit is contained in:
Ryan Dwyer 2018-05-15 13:14:18 +10:00
parent fe24f58297
commit 0e2cc0af30
8 changed files with 158 additions and 2 deletions

View file

@ -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