diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-01 18:26:17 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-01 18:26:17 +0300 |
| commit | 908c8eb42af7a24b3fe7961b9d52c104910edcf7 (patch) | |
| tree | 6d8db70ebcbb5f6cda022f0b17152395a08374bf | |
| parent | 0078293d4c2220900a8ed988a2eee9531355b8e3 (diff) | |
| download | niri-908c8eb42af7a24b3fe7961b9d52c104910edcf7.tar.gz niri-908c8eb42af7a24b3fe7961b9d52c104910edcf7.tar.bz2 niri-908c8eb42af7a24b3fe7961b9d52c104910edcf7.zip | |
wiki: Use HTML dark/light image
Apparently GitHub Markdown is not supported on GitHub Wiki.
| -rw-r--r-- | wiki/Redraw-Loop.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wiki/Redraw-Loop.md b/wiki/Redraw-Loop.md index 47a97188..7f3d1873 100644 --- a/wiki/Redraw-Loop.md +++ b/wiki/Redraw-Loop.md @@ -3,8 +3,10 @@ In niri we keep track of this via the `RedrawState` enum that you can find in an Here's a diagram of state transitions for the `RedrawState` state machine: - - +<picture> + <source media="(prefers-color-scheme: dark)" srcset="./img/RedrawState-dark.drawio.png"> + <img alt="RedrawState state transition diagram" src="./img/RedrawState-light.drawio.png"> +</picture> `Idle` is the default state, when the output does not need to be repainted. Any operation that may cause the screen to update calls `queue_redraw()`, which moves the output to a `Queued` state. |
