summaryrefslogtreecommitdiff
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 0ef006be..d017949b 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -51,10 +51,8 @@ class CCompositor {
wlr_data_device_manager* m_sWLRDataDevMgr;
wlr_drm* m_sWRLDRM;
wlr_drm_lease_v1_manager* m_sWRLDRMLeaseMgr;
- wlr_output_layout* m_sWLROutputLayout;
wlr_layer_shell_v1* m_sWLRLayerShell;
wlr_xdg_shell* m_sWLRXDGShell;
- wlr_cursor* m_sWLRCursor;
wlr_presentation* m_sWLRPresentation;
wlr_egl* m_sWLREGL;
int m_iDRMFD;
@@ -88,7 +86,7 @@ class CCompositor {
wlr_surface* m_pLastFocus = nullptr;
PHLWINDOWREF m_pLastWindow;
- CMonitor* m_pLastMonitor = nullptr;
+ WP<CMonitor> m_pLastMonitor;
std::vector<PHLWINDOWREF> m_vWindowFocusHistory; // first element is the most recently focused.