From d47bfe6af1d040f5c5feb607cf24ea0947a4c8e8 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 15 Aug 2022 00:34:37 +0200 Subject: remove unused fixXWaylandWindowsOnWorkspace --- src/layout/DwindleLayout.cpp | 4 ---- src/layout/IHyprLayout.cpp | 1 - src/layout/MasterLayout.cpp | 4 ---- 3 files changed, 9 deletions(-) (limited to 'src/layout') diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index 15388bf3..05f9e2d5 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -697,10 +697,6 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscree g_pCompositor->moveWindowToTop(pWindow); - // we need to fix XWayland windows by sending them to NARNIA - // because otherwise they'd still be recieving mouse events - g_pCompositor->fixXWaylandWindowsOnWorkspace(PMONITOR->activeWorkspace); - recalculateMonitor(PMONITOR->ID); } diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index c57d2b2d..47210059 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -87,7 +87,6 @@ void IHyprLayout::onWindowCreatedFloating(CWindow* pWindow) { if (pWindow->m_iX11Type != 2) { g_pXWaylandManager->setWindowSize(pWindow, pWindow->m_vRealSize.goalv()); - g_pCompositor->fixXWaylandWindowsOnWorkspace(PMONITOR->activeWorkspace); g_pCompositor->moveWindowToTop(pWindow); } diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index 71c65125..c489e32e 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -389,10 +389,6 @@ void CHyprMasterLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscreen g_pCompositor->moveWindowToTop(pWindow); - // we need to fix XWayland windows by sending them to NARNIA - // because otherwise they'd still be recieving mouse events - g_pCompositor->fixXWaylandWindowsOnWorkspace(PMONITOR->activeWorkspace); - recalculateMonitor(PMONITOR->ID); } -- cgit v1.2.3