View Single Post
Old 05-24-2020, 07:56 PM   #6
yparitcher
Connoisseur
yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.
 
Posts: 52
Karma: 616590
Join Date: Feb 2019
Device: K4 KT4 PW4 PW5
I have a KT4.
Koreader is set to "leave screen as is" for screensaver.
I use a custom program (https://github.com/yparitcher/kindle-zmanim) to dynamically set the screensaver
It uses fbink dump/restore to save and restore the current screen
when using koreader's night mode if i wake the kindle quickly the screen is correct (night) however if i wait (allowing the device to suspend) when i wake the kindle it refreshes after 1-2 secs white (black ink on white background) koreader wins the race
if i remove my custom wakeup handling code it works correctly
is there a easy way to check if koreader is active and let koreader do the refresh? or maybe some way of hooking into koreader's screensaver callback?
yparitcher is offline   Reply With Quote