diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-20 10:24:20 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-20 10:24:20 +0400 |
| commit | ba44aeda4afb501f2ba9e95df7b6743e62b01d7b (patch) | |
| tree | 09dd75ba255c8c8206707e077d93ce65eb1c276a | |
| parent | b5f7e4bd83dbfc77e0c8b973bc217c9a4cb3f364 (diff) | |
| download | niri-ba44aeda4afb501f2ba9e95df7b6743e62b01d7b.tar.gz niri-ba44aeda4afb501f2ba9e95df7b6743e62b01d7b.tar.bz2 niri-ba44aeda4afb501f2ba9e95df7b6743e62b01d7b.zip | |
wiki: Add a FAQ page
| -rw-r--r-- | wiki/Configuration:-Layout.md | 2 | ||||
| -rw-r--r-- | wiki/FAQ.md | 15 | ||||
| -rw-r--r-- | wiki/_Sidebar.md | 1 |
3 files changed, 17 insertions, 1 deletions
diff --git a/wiki/Configuration:-Layout.md b/wiki/Configuration:-Layout.md index 102b0e62..a16dcb79 100644 --- a/wiki/Configuration:-Layout.md +++ b/wiki/Configuration:-Layout.md @@ -140,7 +140,7 @@ The difference is that the focus ring is drawn only around the active window, wh |  |  | > [!TIP] -> By default focus ring and border are rendered as a solid background rectangle behind windows. +> 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 decorations can have an arbitrary shape. > diff --git a/wiki/FAQ.md b/wiki/FAQ.md new file mode 100644 index 00000000..3c977667 --- /dev/null +++ b/wiki/FAQ.md @@ -0,0 +1,15 @@ +### Why is the border/focus ring showing up through semitransparent windows? + +Uncomment the `prefer-no-csd` setting at the [top level](./Configuration:-Miscellaneous.md) of the config. +Niri will draw focus rings and borders *around* windows that agree to omit their client-side decorations. + +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 decorations can have an arbitrary shape. + +### Why is the Waybar pop-up menu showing behind windows? + +Set `"layer": "top"` in your Waybar config. + +Niri currently draws pop-up menus on the same layer as their parent surface. +By default, Waybar is on the `bottom` layer, which is behind windows, so Waybar pop-up menus also show behind windows. diff --git a/wiki/_Sidebar.md b/wiki/_Sidebar.md index da8566f1..d6d7cdad 100644 --- a/wiki/_Sidebar.md +++ b/wiki/_Sidebar.md @@ -5,6 +5,7 @@ * [`niri msg`](./IPC.md) * [VSCode, Chromium, WezTerm](./Application-Issues.md) * [Xwayland](./Xwayland.md) +* [FAQ](./FAQ.md) ## Configuration * [Overview](./Configuration:-Overview.md) |
