move gaps-specific logic out of con.c and render.c into gaps.c

This commit is contained in:
Michael Stapelberg
2022-10-31 19:12:12 +01:00
committed by Michael Stapelberg
parent a5791b2e64
commit 3f400b8ad0
7 changed files with 141 additions and 109 deletions

View File

@ -525,13 +525,6 @@ void con_set_urgency(Con *con, bool urgent);
*/
char *con_get_tree_representation(Con *con);
/**
* Calculates the effective gap sizes for a container depending
* on whether it is adjacent to the edge of the screen or another
* container.
*/
gaps_t calculate_effective_gaps(Con *con);
/**
* force parent split containers to be redrawn
*