From 89ac95867059340b80a37ef81ff32a589bffd185 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 1 Feb 2024 10:07:52 +0400 Subject: default-config: Document how focus ring and border draw behind Related: https://github.com/YaLTeR/niri/issues/150 --- resources/default-config.kdl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 4aae7cc4..49e2eb02 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -90,6 +90,13 @@ input { } layout { + // By default focus ring and border are rendered as a solid background rectangle + // behind windows. That is, they will show up through semitransparent windows. + // This is because windows using client-side decoratins can have an arbitrary shape. + // + // If you don't like that, you should uncomment `prefer-no-csd` below. + // Niri will draw focus ring and border *around* windows that agree to use SSD. + // You can change how the focus ring looks. focus-ring { // Uncomment this line to disable the focus ring. -- cgit