From 5e4de143de6c43ab54a5df7cea169674f8ea79a3 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 27 Oct 2021 18:27:08 +0200 Subject: csd: add support for a visible border MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When we’re using CSDs, we’ve up until now rendered a 5px invisible border. This border handles interactive resizing. I.e. hovering it changes the mouse cursor, and mouse button events are used to start an interactive resize. This patch makes it possible to color part of (or the entire) border, with a configurable color. To facilitate this, two new options have been added: * csd.border-width * csd.border-color border-width defaults to 0, resulting in the look we’re used to. border-color defaults to the title bar color. If the title bar color hasn’t been set, it defaults to the default foreground color (just like the title bar color does). This means that, setting border-width but not border-color, results in a border that blends with the title bar. --- foot.ini | 2 ++ 1 file changed, 2 insertions(+) (limited to 'foot.ini') diff --git a/foot.ini b/foot.ini index b37aa383..72921bb7 100644 --- a/foot.ini +++ b/foot.ini @@ -98,6 +98,8 @@ # size=26 # font= # color= +# border-width=0 +# border-color= # button-width=26 # button-color= # button-minimize-color= -- cgit v1.3 From 61635b413228a03ddbc535a429d6f5597969f327 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 29 Oct 2021 19:30:11 +0200 Subject: foot.ini: csd.border-color: -> --- foot.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'foot.ini') diff --git a/foot.ini b/foot.ini index 72921bb7..acd066a7 100644 --- a/foot.ini +++ b/foot.ini @@ -99,7 +99,7 @@ # font= # color= # border-width=0 -# border-color= +# border-color= # button-width=26 # button-color= # button-minimize-color= -- cgit v1.3