From 6ff97128fc55573274fb21b6e56821db02cf162b Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 10 Oct 2020 11:04:17 +0200 Subject: conf: csd.preferred can now be set to ‘none’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When csd.preferred == none, we will request CSDs from the compositor, but internally render as if we are using SSDs. That is, we don’t render any window decorations at all. Note that some compositors may ignore our request to use CSDs, and still render SSDs for us. Closes #163 --- doc/foot.ini.5.scd | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index a432b807..dd8e5f44 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -238,10 +238,19 @@ values here are in AARRGGBB format. I.e. they contain an alpha component. *preferred* - Which type of window decorations to prefer: *client* (CSD) or - *server* (SSD). Note that this is only a hint to the - compositor. Depending on the compositor's configuration and - capabilities, it may not have any effect. Default: _server_. + Which type of window decorations to prefer: *client* (CSD), + *server* (SSD) or *none*. + + Note that this is only a hint to the compositor. Depending on + compositor support, and how it has been configured, it may + instruct foot to use CSDs even though this option has been set to + *client*, or to use SSDs even though CSDs were requested. + + The exception is *none*. In this mode, foot will technically + request CSDs from the compositor, but will not actually render any + window decorations at all, regardless of the compositors response. + +Default: _server_. *size* Height, in pixels (subject to output scaling), of the -- cgit v1.3 From 3940e07972e19767ffefcca1db9a7c3037f3714e Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 10 Oct 2020 11:12:48 +0200 Subject: doc; foot.ini.5: csd.preferred: re-phrase --- doc/foot.ini.5.scd | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index dd8e5f44..0ad09b5f 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -244,11 +244,7 @@ component. Note that this is only a hint to the compositor. Depending on compositor support, and how it has been configured, it may instruct foot to use CSDs even though this option has been set to - *client*, or to use SSDs even though CSDs were requested. - - The exception is *none*. In this mode, foot will technically - request CSDs from the compositor, but will not actually render any - window decorations at all, regardless of the compositors response. + *server*, or render SSDs despite *client* or *none* being set. Default: _server_. -- cgit v1.3 From 50ca1c2864bc30259795089cff98668171cea65a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 10 Oct 2020 11:14:01 +0200 Subject: doc: foot.ini.t: csd.preferred: repair indentation of “default: _server_” MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/foot.ini.5.scd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 0ad09b5f..f250c188 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -245,8 +245,8 @@ component. compositor support, and how it has been configured, it may instruct foot to use CSDs even though this option has been set to *server*, or render SSDs despite *client* or *none* being set. - -Default: _server_. + + Default: _server_. *size* Height, in pixels (subject to output scaling), of the -- cgit v1.3