summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2016-07-31 20:32:40 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2016-07-31 20:32:40 -0400
commitb39249508f458e302d843c440db8f992e1d545ca (patch)
treeaff103964eb013f246674346fcb6685d593e98bd /include
parentImplement focus handling for containers (diff)
downloadsway-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.h1
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);
22void update_container_border(swayc_t *container); 22void update_container_border(swayc_t *container);
23 23
24void render_view_borders(wlc_handle view); 24void render_view_borders(wlc_handle view);
25void update_view_border(swayc_t *view);
26void map_update_view_border(swayc_t *view, void *data); 25void map_update_view_border(swayc_t *view, void *data);
27int get_font_text_height(const char *font); 26int get_font_text_height(const char *font);
28bool should_hide_top_border(swayc_t *con, double y); 27bool should_hide_top_border(swayc_t *con, double y);