From cf357d7058910864018c3e3702a9723194fce916 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 22 Aug 2024 14:36:47 +0300 Subject: Implement window resize throttling --- wiki/Configuration:-Debug-Options.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'wiki/Configuration:-Debug-Options.md') 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` + +Since: 0.1.9 + +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. -- cgit