diff options
Diffstat (limited to 'src/Window.cpp')
-rw-r--r-- | src/Window.cpp | 2 |
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() { |