mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
properly hide top border inside tabbed/stacked
When titlebar is hidden, top border of the topmost view inside tabbed/stacked container will not be drawn. This is changed in layout.c On the other hand, top border should be drawn sometimes, for example when titlebar is hidden on a view that is not the topmost inside tabbed/stacked container. This is changed in border.c
This commit is contained in:
parent
3f83968d30
commit
8d0048c8d5
3 changed files with 20 additions and 3 deletions
|
|
@ -20,5 +20,6 @@ void render_view_borders(wlc_handle view);
|
|||
void update_view_border(swayc_t *view);
|
||||
void map_update_view_border(swayc_t *view, void *data);
|
||||
int get_font_text_height(const char *font);
|
||||
bool should_hide_top_border(swayc_t *con, double y);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue