1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
From ec092bd601d9d351ff6ca34bd97f12055b2a4dd9 Mon Sep 17 00:00:00 2001
From: Vaxry <vaxry@vaxry.net>
Date: Tue, 7 May 2024 14:26:26 +0100
Subject: [PATCH] core: chase hyprwayland-scanner
---
flake.lock | 6 +++---
src/protocols/OutputManagement.cpp | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/flake.lock b/flake.lock
index 976553d3a4e..4dc7da8250e 100644
--- a/flake.lock
+++ b/flake.lock
@@ -84,11 +84,11 @@
]
},
"locked": {
- "lastModified": 1714755542,
- "narHash": "sha256-D0pg+ZRwrt4lavZ97Ca8clsgbPA3duLj8iEM7riaIFY=",
+ "lastModified": 1715088365,
+ "narHash": "sha256-cVH43+fiiCXqr6F2vUA8KmNI9ytWIQoZGnVz0IpBbZw=",
"owner": "hyprwm",
"repo": "hyprwayland-scanner",
- "rev": "1270ebaa539e56d61b708c24b072b09cbbd3a828",
+ "rev": "6119dc2a965fd30ffa45c50a8398d5da3150df4c",
"type": "github"
},
"original": {
diff --git a/src/protocols/OutputManagement.cpp b/src/protocols/OutputManagement.cpp
index 9ebcba07cf2..e77797262f3 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;
}
}
|