Skip to content

Disable idle handling when locking is disabled - #10873

Open
Thomas-Bard wants to merge 1 commit into
omacom:quattrofrom
Thomas-Bard:fix/wayland-sdl-lockscreen
Open

Disable idle handling when locking is disabled#10873
Thomas-Bard wants to merge 1 commit into
omacom:quattrofrom
Thomas-Bard:fix/wayland-sdl-lockscreen

Conversation

@Thomas-Bard

Copy link
Copy Markdown

idleEnabled was still on even if the lockTimeoutSeconds was 0, which enabled a bug where a wayland SDL application closing triggered the lockscreen to immediately show up.

This fix prevents the lockscreen from showing up when locking is disabled by adding a condition in the initialization of the idleEnabled property.

@Thomas-Bard

Copy link
Copy Markdown
Author

This fix is linked to the issue #10860 so if this PR is accepted, issue #10860 can be closed !
Thanks in advance !

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