diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-10-26 02:06:13 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-10-26 02:06:13 +0100 |
| commit | d5689bb53935ff1adbbfc9fdf5b1f542ce39efb2 (patch) | |
| tree | 9df10d93160b5f6dc8c087d56b6face18809b56a /src/Compositor.hpp | |
| parent | e5384774a8258e44cc7f7b690ce4f6ad1f92b562 (diff) | |
internal: cleanup CMonitor usage and fix a few ref hogs
ref #8221
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index 7fbd32e8..208b6ecf 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -59,8 +59,8 @@ class CCompositor { std::string m_szInstancePath = ""; std::string m_szCurrentSplash = "error"; - std::vector<SP<CMonitor>> m_vMonitors; - std::vector<SP<CMonitor>> m_vRealMonitors; // for all monitors, even those turned off + std::vector<PHLMONITOR> m_vMonitors; + std::vector<PHLMONITOR> m_vRealMonitors; // for all monitors, even those turned off std::vector<PHLWINDOW> m_vWindows; std::vector<PHLLS> m_vLayers; std::vector<PHLWORKSPACE> m_vWorkspaces; @@ -80,7 +80,7 @@ class CCompositor { WP<CWLSurfaceResource> m_pLastFocus; PHLWINDOWREF m_pLastWindow; - WP<CMonitor> m_pLastMonitor; + PHLMONITORREF m_pLastMonitor; std::vector<PHLWINDOWREF> m_vWindowFocusHistory; // first element is the most recently focused. |
