Skip to content

Conversation

@tangxinfa
Copy link

The time text displayed always wrong after system wakeuped, fix it by schedule the redraw timer at every second, and redraw screen only if time text require to change.

When system is hibernated or paused, the lock time draws on the screen may not
take effects, when we wakeup our computer, the time displayed is wrong for
minutes, use a one second interval timer will fix this problem.
@tangxinfa tangxinfa force-pushed the fix-wrong-timetext-after-wakeup branch from b8a95d4 to 61337df Compare November 5, 2019 01:49
@tangxinfa
Copy link
Author

I try to launch i3lock before system hibernate, after wake up the time displayed
is not updated in time.

The root cause maybe because the LID is closed or the screen is shutdown, so we
can't guarantee the time displayed will always take effects.

We can simply use a one second repeat timer to fix this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant