mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
wiki: Add a FAQ page
This commit is contained in:
@@ -140,7 +140,7 @@ The difference is that the focus ring is drawn only around the active window, wh
|
|||||||
|  |  |
|
|  |  |
|
||||||
|
|
||||||
> [!TIP]
|
> [!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.
|
> That is, they will show up through semitransparent windows.
|
||||||
> This is because windows using client-side decorations can have an arbitrary shape.
|
> This is because windows using client-side decorations can have an arbitrary shape.
|
||||||
>
|
>
|
||||||
|
|||||||
+15
@@ -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.
|
||||||
@@ -5,6 +5,7 @@
|
|||||||
* [`niri msg`](./IPC.md)
|
* [`niri msg`](./IPC.md)
|
||||||
* [VSCode, Chromium, WezTerm](./Application-Issues.md)
|
* [VSCode, Chromium, WezTerm](./Application-Issues.md)
|
||||||
* [Xwayland](./Xwayland.md)
|
* [Xwayland](./Xwayland.md)
|
||||||
|
* [FAQ](./FAQ.md)
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
* [Overview](./Configuration:-Overview.md)
|
* [Overview](./Configuration:-Overview.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user