diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-05-07 14:26:26 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-05-07 14:28:26 +0100 |
| commit | ec092bd601d9d351ff6ca34bd97f12055b2a4dd9 (patch) | |
| tree | cabc5259424429a6b9f176044ba607a2f5a0ba8a /src/protocols/OutputManagement.cpp | |
| parent | 2bcc8d303f889432171c5113af5f2962858099a4 (diff) | |
core: chase hyprwayland-scanner
Diffstat (limited to 'src/protocols/OutputManagement.cpp')
| -rw-r--r-- | src/protocols/OutputManagement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/OutputManagement.cpp b/src/protocols/OutputManagement.cpp index 9ebcba07..e7779726 100644 --- a/src/protocols/OutputManagement.cpp +++ b/src/protocols/OutputManagement.cpp @@ -166,7 +166,7 @@ void COutputHead::sendAllData() { LOGM(LOG, " | sending current mode for {}: {}x{}@{}", pMonitor->szName, m->mode->width, m->mode->height, m->mode->refresh); else LOGM(LOG, " | sending current mode for {}: null (fake)", pMonitor->szName); - resource->sendCurrentMode(m->resource->resource()); + resource->sendCurrentMode(m->resource.get()); break; } } @@ -197,7 +197,7 @@ void COutputHead::updateMode() { LOGM(LOG, " | sending current mode for {}: {}x{}@{}", pMonitor->szName, m->mode->width, m->mode->height, m->mode->refresh); else LOGM(LOG, " | sending current mode for {}: null (fake)", pMonitor->szName); - resource->sendCurrentMode(m->resource->resource()); + resource->sendCurrentMode(m->resource.get()); break; } } |
