Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main.js: Handle an end-session-dialog failure to show.
If the end-session dialog is requested while the screensaver is active, pushModal() will fail, as cinnamon-screensaver has a hard keyboard and pointer grab. Discard the dialog when this happens, to allow a successful prompt later. Fixes linuxmint/mint22.1-beta#108.
- Loading branch information