bar border - allow for the border size to be explicitly set ref. #364

This commit is contained in:
bakkeby
2023-06-27 16:31:02 +02:00
parent 99f6f1b52c
commit ab7d28ff0f
3 changed files with 16 additions and 8 deletions

View File

@@ -7,6 +7,12 @@ static const int corner_radius = 10;
#else
static const unsigned int borderpx = 1; /* border pixel of windows */
#endif // ROUNDED_CORNERS_PATCH
#if BAR_BORDER_PATCH
/* This allows the bar border size to be explicitly set separately from borderpx.
* If left as 0 then it will default to the borderpx value of the monitor and will
* automatically update with setborderpx. */
static const unsigned int barborderpx = 0; /* border pixel of bar */
#endif // BAR_BORDER_PATCH
static const unsigned int snap = 32; /* snap pixel */
#if SWALLOW_PATCH
static const int swallowfloating = 0; /* 1 means swallow floating windows by default */