From d040284cc78e753a0c44c35d8446622d453d4674 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 6 Sep 2020 17:52:07 +0200 Subject: config: add tweak.damage-whole-window MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When enabled, foot will ‘damage’ the entire window, instead of just the modified/updated rows. This will force the compositor to redraw/blend the whole window. This can be used to workaround an issue with fractional scaling in Gnome, where random thin lines may appear. --- doc/foot.ini.5.scd | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 06f6f46c..81e3f945 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -441,8 +441,8 @@ When reporting bugs, please mention if, and to what, you have changed any of these options. *allow-overflowing-double-width-glyphs* - When enabled, double width glyphs with a character width of 1 are - allowed to overflow into the neighbouring cell. + Boolean. when enabled, double width glyphs with a character width + of 1 are allowed to overflow into the neighbouring cell. One use case for this is fonts "icon" characters in the Unicode private usage area, e.g. Nerd Fonts, or Powerline Fonts. Without @@ -528,6 +528,21 @@ any of these options. Default: lower=_500000_ (0.5ms), upper=_8333333_ (8.3ms - half a frame interval). +*damage-whole-window* + Boolean. When enabled, foot will 'damage' the entire window each + time a frame has been rendered. This forces the compositor to + redraw the entire window. If disabled, foot will only 'damage' + updated rows. + + There is normally *no* reason to enable this. However, it has been + seen to workaround an issue with _fractional scaling_ in _Gnome_. + + Note that enabling this option is likely to increase CPU and/or + GPU usage (by the compositor, not by foot), and may have a + negative impact on battery life. + + Default: _false_. + *max-shm-pool-size-mb* This option controls the amount of *virtual* memory used by the pixmap memory to which the terminal screen content is rendered. -- cgit v1.3