diff options
author | D.B <thejan.2009@gmail.com> | 2016-07-30 15:12:34 +0200 |
---|---|---|
committer | D.B <thejan.2009@gmail.com> | 2016-07-30 15:12:34 +0200 |
commit | 8d0048c8d5b3774f79fcb0711d63bcc226b78631 (patch) | |
tree | adf1c6948b3dab471484d579e24abde013476ed1 /include | |
parent | Fix swaybg sizing on hidpi outputs (diff) | |
download | sway-8d0048c8d5b3774f79fcb0711d63bcc226b78631.tar.gz sway-8d0048c8d5b3774f79fcb0711d63bcc226b78631.tar.zst sway-8d0048c8d5b3774f79fcb0711d63bcc226b78631.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/border.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/border.h b/include/border.h index eb7fc656..b629ba46 100644 --- a/include/border.h +++ b/include/border.h | |||
@@ -20,5 +20,6 @@ void render_view_borders(wlc_handle view); | |||
20 | void update_view_border(swayc_t *view); | 20 | void update_view_border(swayc_t *view); |
21 | void map_update_view_border(swayc_t *view, void *data); | 21 | void map_update_view_border(swayc_t *view, void *data); |
22 | int get_font_text_height(const char *font); | 22 | int get_font_text_height(const char *font); |
23 | bool should_hide_top_border(swayc_t *con, double y); | ||
23 | 24 | ||
24 | #endif | 25 | #endif |