diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-02 18:58:35 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-03 10:23:48 +0400 |
| commit | 185f294200b8e20d85dab828fa95265330762594 (patch) | |
| tree | b13902e7be98c48d255325715218b09b5bdeb1e5 /wiki/Configuration:-Debug-Options.md | |
| parent | c6d64dae7aae12379d25b2e90630d19aeef5444b (diff) | |
| download | niri-185f294200b8e20d85dab828fa95265330762594.tar.gz niri-185f294200b8e20d85dab828fa95265330762594.tar.bz2 niri-185f294200b8e20d85dab828fa95265330762594.zip | |
wiki: Mention new debug option
Diffstat (limited to 'wiki/Configuration:-Debug-Options.md')
| -rw-r--r-- | wiki/Configuration:-Debug-Options.md | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/wiki/Configuration:-Debug-Options.md b/wiki/Configuration:-Debug-Options.md index 5da6084f..278f4048 100644 --- a/wiki/Configuration:-Debug-Options.md +++ b/wiki/Configuration:-Debug-Options.md @@ -137,15 +137,32 @@ debug { } ``` -### `toggle-debug-tint` Key Binding +### Key Bindings -This one is not a debug option, but rather a key binding. +These are not debug options, but rather key bindings. -It will tint all surfaces green, unless they are being directly scanned out. -It's therefore useful to check if direct scanout is working. +#### `toggle-debug-tint` + +Tints all surfaces green, unless they are being directly scanned out. + +Useful to check if direct scanout is working. ``` binds { Mod+Shift+Ctrl+T { toggle-debug-tint; } } ``` + +#### `debug-toggle-opaque-regions` + +<sup>Since: 0.1.6</sup> + +Tints regions marked as opaque with blue and the rest of the render elements with red. + +Useful to check how Wayland surfaces and internal render elements mark their parts as opaque, which is a rendering performance optimization. + +``` +binds { + Mod+Shift+Ctrl+O { debug-toggle-opaque-regions; } +} +``` |
