Commit b071b1160b7a7b1d37b7a711260464e88b5144f4

Authored by Colomban Wendling
1 parent 83c4cc2f

Add patch to lower physical screen redraws

debian/changelog
... ... @@ -3,6 +3,7 @@ daisy-player (9.0.0-1+hypra1) UNRELEASED; urgency=medium
3 3 * Add patch adding an option not to show time elapsing during playback.
4 4 This is useful for people using a screen reader that would read the
5 5 changes on screen and thus insert continuous noise.
  6 + * Add patch to reduce physical screen redraws.
6 7  
7 8 -- Colomban Wendling <cwendling@hypra.fr> Wed, 05 Dec 2018 12:00:41 +0100
8 9  
... ...
debian/patches/series
1 1 no_time_during_playback.patch
2 2 fix_manpage_for_syntax_change.patch
  3 +smaller-refresh.patch
... ...
debian/patches/smaller-refresh.patch 0 → 100644
... ... @@ -0,0 +1,11 @@
  1 +--- a/src/daisy-player.c
  2 ++++ b/src/daisy-player.c
  3 +@@ -461,7 +461,7 @@ void view_screen (misc_t *misc, daisy_t
  4 + daisy[misc->current].screen + 1,
  5 + daisy[misc->total_items - 1].screen + 1);
  6 + wrefresh (misc->titlewin);
  7 +- wclear (misc->screenwin);
  8 ++ werase (misc->screenwin);
  9 + for (i = 0; daisy[i].screen != daisy[misc->current].screen; i++);
  10 + do
  11 + {
... ...