mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Implement show_marks
This commit is contained in:
parent
fe24f58297
commit
0e2cc0af30
8 changed files with 158 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue