diff options
author | Vsevolod <kefirchik3@gmail.com> | 2021-12-10 17:09:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 16:09:29 +0100 |
commit | f7725011efd3bc2762a0d1002ea5071470962213 (patch) | |
tree | 1ae3ada1e24f387829958961c216b2c231fa01f7 /include | |
parent | Fixup headless output names (diff) | |
download | sway-f7725011efd3bc2762a0d1002ea5071470962213.tar.gz sway-f7725011efd3bc2762a0d1002ea5071470962213.tar.zst sway-f7725011efd3bc2762a0d1002ea5071470962213.zip |
Add focused_tab_title
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/config.h | 3 | ||||
-rw-r--r-- | include/sway/tree/container.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index c6f5c2e0..2746ef28 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -112,6 +112,7 @@ sway_cmd cmd_border; | |||
112 | sway_cmd cmd_client_noop; | 112 | sway_cmd cmd_client_noop; |
113 | sway_cmd cmd_client_focused; | 113 | sway_cmd cmd_client_focused; |
114 | sway_cmd cmd_client_focused_inactive; | 114 | sway_cmd cmd_client_focused_inactive; |
115 | sway_cmd cmd_client_focused_tab_title; | ||
115 | sway_cmd cmd_client_unfocused; | 116 | sway_cmd cmd_client_unfocused; |
116 | sway_cmd cmd_client_urgent; | 117 | sway_cmd cmd_client_urgent; |
117 | sway_cmd cmd_client_placeholder; | 118 | sway_cmd cmd_client_placeholder; |
diff --git a/include/sway/config.h b/include/sway/config.h index aa71209d..fda0e83f 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -548,12 +548,15 @@ struct sway_config { | |||
548 | struct { | 548 | struct { |
549 | struct border_colors focused; | 549 | struct border_colors focused; |
550 | struct border_colors focused_inactive; | 550 | struct border_colors focused_inactive; |
551 | struct border_colors focused_tab_title; | ||
551 | struct border_colors unfocused; | 552 | struct border_colors unfocused; |
552 | struct border_colors urgent; | 553 | struct border_colors urgent; |
553 | struct border_colors placeholder; | 554 | struct border_colors placeholder; |
554 | float background[4]; | 555 | float background[4]; |
555 | } border_colors; | 556 | } border_colors; |
556 | 557 | ||
558 | bool has_focused_tab_title; | ||
559 | |||
557 | // floating view | 560 | // floating view |
558 | int32_t floating_maximum_width; | 561 | int32_t floating_maximum_width; |
559 | int32_t floating_maximum_height; | 562 | int32_t floating_maximum_height; |
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 97fa98c1..05761150 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -117,12 +117,14 @@ struct sway_container { | |||
117 | 117 | ||
118 | struct wlr_texture *title_focused; | 118 | struct wlr_texture *title_focused; |
119 | struct wlr_texture *title_focused_inactive; | 119 | struct wlr_texture *title_focused_inactive; |
120 | struct wlr_texture *title_focused_tab_title; | ||
120 | struct wlr_texture *title_unfocused; | 121 | struct wlr_texture *title_unfocused; |
121 | struct wlr_texture *title_urgent; | 122 | struct wlr_texture *title_urgent; |
122 | 123 | ||
123 | list_t *marks; // char * | 124 | list_t *marks; // char * |
124 | struct wlr_texture *marks_focused; | 125 | struct wlr_texture *marks_focused; |
125 | struct wlr_texture *marks_focused_inactive; | 126 | struct wlr_texture *marks_focused_inactive; |
127 | struct wlr_texture *marks_focused_tab_title; | ||
126 | struct wlr_texture *marks_unfocused; | 128 | struct wlr_texture *marks_unfocused; |
127 | struct wlr_texture *marks_urgent; | 129 | struct wlr_texture *marks_urgent; |
128 | 130 | ||