diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2024-10-27 18:45:38 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-27 18:45:38 +0000 |
| commit | 5d4b54b01286c10d4b6bf402a772b5938b054ce6 (patch) | |
| tree | 09c803b1cc39a67c04dd0ad09a79dc47f0f2e1f4 /src/protocols/LinuxDMABUF.cpp | |
| parent | b6e226c3200276978e487a68a16fd696fcb7e7c8 (diff) | |
core: move internal structures to monitor pointers (#8266)
Diffstat (limited to 'src/protocols/LinuxDMABUF.cpp')
| -rw-r--r-- | src/protocols/LinuxDMABUF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/LinuxDMABUF.cpp b/src/protocols/LinuxDMABUF.cpp index e81d7e01..7b2bcbf4 100644 --- a/src/protocols/LinuxDMABUF.cpp +++ b/src/protocols/LinuxDMABUF.cpp @@ -509,7 +509,7 @@ void CLinuxDMABufV1Protocol::resetFormatTable() { PHLMONITOR mon; auto HLSurface = CWLSurface::fromResource(feedback->surface); if (auto w = HLSurface->getWindow(); w) - if (auto m = g_pCompositor->getMonitorFromID(w->m_iMonitorID); m) + if (auto m = w->m_pMonitor.lock(); m) mon = m->self.lock(); if (!mon) { |
