mirror of
https://github.com/swaywm/sway.git
synced 2026-04-19 06:46:40 -04:00
add --smart-titles flag to hide_edge_borders
to hide the title bar on workspaces with one child, fix #7409
This commit is contained in:
parent
7e69a7076f
commit
fa4c1cdc50
7 changed files with 29 additions and 9 deletions
|
|
@ -556,6 +556,7 @@ struct sway_config {
|
|||
enum edge_border_types hide_edge_borders;
|
||||
enum edge_border_smart_types hide_edge_borders_smart;
|
||||
bool hide_lone_tab;
|
||||
bool hide_lone_title;
|
||||
|
||||
// border colors
|
||||
struct {
|
||||
|
|
|
|||
|
|
@ -369,6 +369,8 @@ void view_execute_criteria(struct sway_view *view);
|
|||
*/
|
||||
bool view_is_visible(struct sway_view *view);
|
||||
|
||||
bool view_is_only_visible(struct sway_view *view);
|
||||
|
||||
void view_set_urgent(struct sway_view *view, bool enable);
|
||||
|
||||
bool view_is_urgent(struct sway_view *view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue