mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
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.
This commit is contained in:
parent
f78d07d39b
commit
b39249508f
5 changed files with 14 additions and 15 deletions
|
|
@ -22,7 +22,6 @@ void border_clear(struct border *border);
|
|||
void update_container_border(swayc_t *container);
|
||||
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue