config: add tweak.damage-whole-window

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.
This commit is contained in:
Daniel Eklöf 2020-09-06 17:52:07 +02:00
parent 4179e480e8
commit d040284cc7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 27 additions and 2 deletions

View file

@ -147,6 +147,7 @@ struct config {
bool allow_overflowing_double_width_glyphs;
bool render_timer_osd;
bool render_timer_log;
bool damage_whole_window;
uint64_t delayed_render_lower_ns;
uint64_t delayed_render_upper_ns;
off_t max_shm_pool_size;