input: pass touch events to lock screens (#9129)
* refactor: use weak pointers for session lock surfaces * input: pass touch events to lock screens
This commit is contained in:
parent
bce58d9d65
commit
9199a9746d
6 changed files with 47 additions and 25 deletions
|
|
@ -49,20 +49,20 @@ class CSessionLockManager {
|
|||
CSessionLockManager();
|
||||
~CSessionLockManager() = default;
|
||||
|
||||
SSessionLockSurface* getSessionLockSurfaceForMonitor(uint64_t);
|
||||
WP<SSessionLockSurface> getSessionLockSurfaceForMonitor(uint64_t);
|
||||
|
||||
float getRedScreenAlphaForMonitor(uint64_t);
|
||||
float getRedScreenAlphaForMonitor(uint64_t);
|
||||
|
||||
bool isSessionLocked();
|
||||
bool isSessionLockPresent();
|
||||
bool isSurfaceSessionLock(SP<CWLSurfaceResource>);
|
||||
bool anySessionLockSurfacesPresent();
|
||||
bool isSessionLocked();
|
||||
bool isSessionLockPresent();
|
||||
bool isSurfaceSessionLock(SP<CWLSurfaceResource>);
|
||||
bool anySessionLockSurfacesPresent();
|
||||
|
||||
void removeSessionLockSurface(SSessionLockSurface*);
|
||||
void removeSessionLockSurface(SSessionLockSurface*);
|
||||
|
||||
void onLockscreenRenderedOnMonitor(uint64_t id);
|
||||
void onLockscreenRenderedOnMonitor(uint64_t id);
|
||||
|
||||
bool shallConsiderLockMissing();
|
||||
bool shallConsiderLockMissing();
|
||||
|
||||
private:
|
||||
UP<SSessionLock> m_pSessionLock;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue