forked from mortie/swaylock-effects
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Obtain screenshots before ext_session_lock_manager_v1_lock()
With ext_session_lock_v1, it is impossible to obtain screenshots after the lock is initiated. The compositor is supposed to stop all normal rendering after call to ext_session_lock_manager_v1_lock(). Instead, let's enumerate outputs *before* locking the screen, so that we can obtain screenshots of each output before they are hidden by the ext_session_lock_v1 api. Fixes #5.
- Loading branch information
Showing
1 changed file
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters