3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-03-03 05:44:49 +00:00

disallow swapping in fullscreen

This commit is contained in:
vaxerski
2022-08-03 15:35:28 +02:00
parent fff7534721
commit 996e5a9e69

View File

@ -812,7 +812,7 @@ void CKeybindManager::moveActiveTo(std::string args) {
const auto PLASTWINDOW = g_pCompositor->m_pLastWindow;
if (!g_pCompositor->windowValidMapped(PLASTWINDOW))
if (!g_pCompositor->windowValidMapped(PLASTWINDOW) || PLASTWINDOW->m_bIsFullscreen)
return;
const auto PWINDOWTOCHANGETO = g_pCompositor->getWindowInDirection(PLASTWINDOW, arg);