diff options
author | Tony Crisci <tony@dubstepdish.com> | 2016-07-31 20:32:40 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2016-07-31 20:32:40 -0400 |
commit | b39249508f458e302d843c440db8f992e1d545ca (patch) | |
tree | aff103964eb013f246674346fcb6685d593e98bd /include | |
parent | Implement focus handling for containers (diff) | |
download | sway-b39249508f458e302d843c440db8f992e1d545ca.tar.gz sway-b39249508f458e302d843c440db8f992e1d545ca.tar.zst sway-b39249508f458e302d843c440db8f992e1d545ca.zip |
Refactor functions to update container borders
Replace `update_view_border()` with `update_container_border()`. The latter
should handle both the case where the container is a view or if the container
has children.
Diffstat (limited to 'include')
-rw-r--r-- | include/border.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/border.h b/include/border.h index b61b0f8a..b72dc5dc 100644 --- a/include/border.h +++ b/include/border.h | |||
@@ -22,7 +22,6 @@ void border_clear(struct border *border); | |||
22 | void update_container_border(swayc_t *container); | 22 | void update_container_border(swayc_t *container); |
23 | 23 | ||
24 | void render_view_borders(wlc_handle view); | 24 | void render_view_borders(wlc_handle view); |
25 | void update_view_border(swayc_t *view); | ||
26 | void map_update_view_border(swayc_t *view, void *data); | 25 | void map_update_view_border(swayc_t *view, void *data); |
27 | int get_font_text_height(const char *font); | 26 | int get_font_text_height(const char *font); |
28 | bool should_hide_top_border(swayc_t *con, double y); | 27 | bool should_hide_top_border(swayc_t *con, double y); |