aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-03-20 02:06:03 +0000
committervaxerski <[email protected]>2023-03-20 02:06:03 +0000
commitbe2c7d454c660407773642fe2cebf2bc60d96abe (patch)
treebed90c82b3c3e65722b5f1f97a6d04240ad3c7fc
parent200fa3d677cde939ca2f4d7165458f07345d1cfc (diff)
downloadHyprland-be2c7d454c660407773642fe2cebf2bc60d96abe.tar.gz
Hyprland-be2c7d454c660407773642fe2cebf2bc60d96abe.zip
unbreak buildwrap-surfaces
-rw-r--r--src/Window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index b390d2e6..19fb68c2 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -285,7 +285,7 @@ void CWindow::moveToWorkspace(int workspaceID) {
}
if (PMONITOR)
- g_pProtocolManager->m_pFractionalScaleProtocolManager->setPreferredScaleForSurface(g_pXWaylandManager->getWindowSurface(m_pWLSurface.wlr()), PMONITOR->scale);
+ g_pProtocolManager->m_pFractionalScaleProtocolManager->setPreferredScaleForSurface(m_pWLSurface.wlr(), PMONITOR->scale);
}
CWindow* CWindow::X11TransientFor() {