summaryrefslogtreecommitdiff
path: root/src/protocols/OutputManagement.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-05-07 14:26:26 +0100
committerVaxry <vaxry@vaxry.net>2024-05-07 14:28:26 +0100
commitec092bd601d9d351ff6ca34bd97f12055b2a4dd9 (patch)
treecabc5259424429a6b9f176044ba607a2f5a0ba8a /src/protocols/OutputManagement.cpp
parent2bcc8d303f889432171c5113af5f2962858099a4 (diff)
core: chase hyprwayland-scanner
Diffstat (limited to 'src/protocols/OutputManagement.cpp')
-rw-r--r--src/protocols/OutputManagement.cpp4
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;
}
}