wiki: Emphasize non-xray warnings
Browse files at this commitf4ebbc8017308c6afce93b48741a4aa26fcafbdaParent: ce9dd332 changed files +8 -4
docs/wiki/Configuration:-Window-Rules.mdmodified+3 -0
| @@ -944,6 +944,9 @@ See the [window effects page](./Window-Effects.md) for an overview of background | |||
| 944 | ```kdl | 944 | ```kdl |
| 945 | // Make floating windows use the regular blur (if enabled), | 945 | // Make floating windows use the regular blur (if enabled), |
| 946 | // while tiled windows keep using the efficient xray blur. | 946 | // while tiled windows keep using the efficient xray blur. |
| 947 | +// | ||
| 948 | +// Warning: non-xray blur is currently experimental and has known limitations. | ||
| 949 | +// In particular, it doesn't work during window opening and closing animations. | ||
| 947 | window-rule { | 950 | window-rule { |
| 948 | match is-floating=true | 951 | match is-floating=true |
| 949 | 952 | ||
docs/wiki/Window-Effects.mdmodified+5 -4
| @@ -62,10 +62,11 @@ You can disable xray with `xray false` background effect window rule. | |||
| 62 | This gives you the normal kind of blur where everything below a window is blurred. | 62 | This gives you the normal kind of blur where everything below a window is blurred. |
| 63 | Keep in mind that non-xray blur and other non-xray effects are more expensive as niri has to recompute them any time you move the window, or the contents underneath change. | 63 | Keep in mind that non-xray blur and other non-xray effects are more expensive as niri has to recompute them any time you move the window, or the contents underneath change. |
| 64 | 64 | ||
| 65 | -Non-xray effects are currently experimental because they have some known limitations. | 65 | +> [!WARNING] |
| 66 | - | 66 | +> Non-xray effects are currently experimental because they have some known limitations. |
| 67 | -- They disappear during window open/close animations and while dragging a tiled window. | 67 | +> |
| 68 | -Fixing this requries a refactor to the niri rendering code to defer offscreen rendering, and possibly other refactors. | 68 | +> - They disappear during window open/close animations and while dragging a tiled window. |
| 69 | +> Fixing this requries a refactor to the niri rendering code to defer offscreen rendering, and possibly other refactors. | ||
| 69 | 70 | ||
| 70 | ### Implementation notes | 71 | ### Implementation notes |
| 71 | 72 | ||