sway: Implement client.sticky colorclass

This commit is contained in:
qiu-x 2022-10-08 16:30:36 +02:00
parent 78b5c0a77e
commit 62c1fdc4bf
9 changed files with 127 additions and 8 deletions

View file

@ -114,9 +114,12 @@ sway_cmd cmd_client_noop;
sway_cmd cmd_client_focused;
sway_cmd cmd_client_focused_inactive;
sway_cmd cmd_client_focused_tab_title;
sway_cmd cmd_client_placeholder;
sway_cmd cmd_client_sticky;
sway_cmd cmd_client_sticky_inactive;
sway_cmd cmd_client_sticky_unfocused;
sway_cmd cmd_client_unfocused;
sway_cmd cmd_client_urgent;
sway_cmd cmd_client_placeholder;
sway_cmd cmd_client_background;
sway_cmd cmd_commands;
sway_cmd cmd_create_output;

View file

@ -560,6 +560,12 @@ struct sway_config {
struct border_colors unfocused;
struct border_colors urgent;
struct border_colors placeholder;
struct border_colors sticky;
bool sticky_is_set;
struct border_colors sticky_inactive;
bool sticky_inactive_is_set;
struct border_colors sticky_unfocused;
bool sticky_unfocused_is_set;
float background[4];
} border_colors;

View file

@ -120,6 +120,9 @@ struct sway_container {
struct wlr_texture *title_focused_tab_title;
struct wlr_texture *title_unfocused;
struct wlr_texture *title_urgent;
struct wlr_texture *title_sticky;
struct wlr_texture *title_sticky_inactive;
struct wlr_texture *title_sticky_unfocused;
list_t *marks; // char *
struct wlr_texture *marks_focused;