From e0dea455c164f62ae5dc823e1472a51a6fd60c16 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Sat, 22 May 2021 01:18:16 +0200 Subject: [PATCH] doc(client): Document special case for border color Apparently transparent client borders only work when the border color is set to `#00000000` specifically. Signed-off-by: Lucas Schwiderski --- objects/client.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/objects/client.c b/objects/client.c index f7537cb4..909a317e 100644 --- a/objects/client.c +++ b/objects/client.c @@ -750,9 +750,13 @@ lua_class_t client_class; * Note that setting this directly will override and disable all related theme * variables. * + * Setting a transparent color (e.g. to implement dynamic borders without size + * changes) is supported, but requires the color to be set to `#00000000` + * specifically. Other RGB colors with an alpha of `0` won't work. + * * @property border_color - * @tparam color border_color Any string, gradients and patterns will be converted to a - * cairo pattern. + * @tparam color border_color Any string, gradient or pattern definition that + * can be converted to a cairo pattern. * @propemits false false * @usebeautiful beautiful.border_color_marked The fallback color when the * client is marked.