summaryrefslogtreecommitdiff
path: root/src/Window.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2023-06-03 12:20:23 +0200
committervaxerski <vaxry@vaxry.net>2023-06-03 12:20:28 +0200
commit147e962370069e6e3ec8054ef4243fc3fd69c9e8 (patch)
treed19ba0103a7a60803e4aa90224273eae7ccfff2b /src/Window.cpp
parentd7db7040d45a897adc598c3ba2e4b795f7e2a9b5 (diff)
deps: update wlroots
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index a9598615..a1746fbc 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -397,7 +397,8 @@ void CWindow::onMap() {
g_pCompositor->m_vWindowFocusHistory.push_back(this);
- hyprListener_unmapWindow.initCallback(m_bIsX11 ? &m_uSurface.xwayland->events.unmap : &m_uSurface.xdg->events.unmap, &Events::listener_unmapWindow, this, "CWindow");
+ hyprListener_unmapWindow.initCallback(m_bIsX11 ? &m_uSurface.xwayland->surface->events.unmap : &m_uSurface.xdg->surface->events.unmap, &Events::listener_unmapWindow, this,
+ "CWindow");
}
void CWindow::onBorderAngleAnimEnd(void* ptr) {