aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/events/Monitors.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-10-25 00:27:16 +0100
committerVaxry <[email protected]>2023-10-25 00:27:16 +0100
commitdf00727310b8a428a4977878cdf5597373a2ad31 (patch)
treefa9ae3d4bf5f20c028b61de922e6a86770a75403 /src/events/Monitors.cpp
parent03771d3aa9d4c0036baf830c3fa385740d43cd60 (diff)
downloadHyprland-df00727310b8a428a4977878cdf5597373a2ad31.tar.gz
Hyprland-df00727310b8a428a4977878cdf5597373a2ad31.zip
deps: update wlroots
Diffstat (limited to 'src/events/Monitors.cpp')
-rw-r--r--src/events/Monitors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Monitors.cpp b/src/events/Monitors.cpp
index 8619ade3..fa36c53c 100644
--- a/src/events/Monitors.cpp
+++ b/src/events/Monitors.cpp
@@ -251,7 +251,7 @@ void Events::listener_monitorCommit(void* owner, void* data) {
const auto E = (wlr_output_event_commit*)data;
- if (E->committed & WLR_OUTPUT_STATE_BUFFER) {
+ if (E->state->committed & WLR_OUTPUT_STATE_BUFFER) {
g_pProtocolManager->m_pScreencopyProtocolManager->onOutputCommit(PMONITOR, E);
g_pProtocolManager->m_pToplevelExportProtocolManager->onOutputCommit(PMONITOR, E);
}