summaryrefslogtreecommitdiff
path: root/src/protocols/SessionLock.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/SessionLock.hpp')
-rw-r--r--src/protocols/SessionLock.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocols/SessionLock.hpp b/src/protocols/SessionLock.hpp
index a0c67e88..a1df6fcf 100644
--- a/src/protocols/SessionLock.hpp
+++ b/src/protocols/SessionLock.hpp
@@ -13,12 +13,12 @@ class CWLSurfaceResource;
class CSessionLockSurface {
public:
- CSessionLockSurface(SP<CExtSessionLockSurfaceV1> resource_, SP<CWLSurfaceResource> surface_, CMonitor* pMonitor_, WP<CSessionLock> owner_);
+ CSessionLockSurface(SP<CExtSessionLockSurfaceV1> resource_, SP<CWLSurfaceResource> surface_, PHLMONITOR pMonitor_, WP<CSessionLock> owner_);
~CSessionLockSurface();
bool good();
bool inert();
- CMonitor* monitor();
+ PHLMONITOR monitor();
SP<CWLSurfaceResource> surface();
struct {
@@ -31,7 +31,7 @@ class CSessionLockSurface {
SP<CExtSessionLockSurfaceV1> resource;
WP<CSessionLock> sessionLock;
WP<CWLSurfaceResource> pSurface;
- CMonitor* pMonitor = nullptr;
+ PHLMONITORREF pMonitor;
bool ackdConfigure = false;
bool committed = false;