Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: grace unlock improvements and auth fixes for grace/SIGUSR1 unlocks #424

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

PaideiaDilemma
Copy link
Contributor

@PaideiaDilemma PaideiaDilemma commented Jul 17, 2024

Closes #423

Grace code previously respected the case when m_bFadeStarted was already set, but not m_bTerminate in case gerneral:no_fade_out is used.

Auth needs to check for isUnlocked to not cause a failed authentication attempt. Also we don't need to enqueue passwordCheckTimerCallback if we are already unlocked.

I didn't like success being part of m_sConversationState. So I moved it outside of it, used the return value of auth to set it and renamed it to m_bAuthenticated.

b6d2be6 is just in there because i noticed it.

@PaideiaDilemma PaideiaDilemma changed the title core: check m_bTerminate for grace unlocks and remove reference to the lock object on finished core: grace unlock improvements and auth fixes for grace/SIGUSR1 unlocks Jul 17, 2024
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@vaxerski vaxerski merged commit 9514925 into hyprwm:main Jul 17, 2024
1 check passed
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.

Grace cause fail auth
2 participants