diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-22 14:36:47 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-22 14:40:40 +0300 |
| commit | cf357d7058910864018c3e3702a9723194fce916 (patch) | |
| tree | 6f93e6d1928a8f887e87f9fc22bb54206219b3fe /wiki/Configuration:-Debug-Options.md | |
| parent | 618fa08aa5649e867c24db5ae941ca7f5064eeca (diff) | |
| download | niri-cf357d7058910864018c3e3702a9723194fce916.tar.gz niri-cf357d7058910864018c3e3702a9723194fce916.tar.bz2 niri-cf357d7058910864018c3e3702a9723194fce916.zip | |
Implement window resize throttling
Diffstat (limited to 'wiki/Configuration:-Debug-Options.md')
| -rw-r--r-- | wiki/Configuration:-Debug-Options.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/wiki/Configuration:-Debug-Options.md b/wiki/Configuration:-Debug-Options.md index a703abdb..cce69f48 100644 --- a/wiki/Configuration:-Debug-Options.md +++ b/wiki/Configuration:-Debug-Options.md @@ -20,6 +20,7 @@ debug { dbus-interfaces-in-non-session-instances wait-for-frame-completion-before-queueing emulate-zero-presentation-time + disable-resize-throttling } binds { @@ -128,6 +129,23 @@ debug { } ``` +### `disable-resize-throttling` + +<sup>Since: 0.1.9</sup> + +Disable throttling resize events sent to windows. + +By default, when resizing quickly (e.g. interactively), a window will only receive the next size once it has made a commit for the previously requested size. +This is required for resize transactions to work properly, and it also helps certain clients which don't batch incoming resizes from the compositor. + +Disabling resize throttling will send resizes to windows as fast as possible, which is potentially very fast (for example, on a 1000 Hz mouse). + +```kdl +debug { + disable-resize-throttling +} +``` + ### Key Bindings These are not debug options, but rather key bindings. |
