diff --git a/main.py b/main.py index 0402f6e7..e7d9629a 100755 --- a/main.py +++ b/main.py @@ -142,6 +142,9 @@ def on_win32_wm_event(hWnd, msg, wParam, lParam): elif wParam == win32con.PBT_APMRESUMEAUTOMATIC: logger.info("Computer is resuming from sleep, display will turn on") display.turn_on() + # Some models have troubles displaying back the previous bitmap after being turned off/on + display.display_static_images() + display.display_static_text() else: # For any other events, the program will stop logger.info("Program will now exit")