mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-26 19:09:49 +01:00
disallow swapping in fullscreen
This commit is contained in:
parent
fff7534721
commit
996e5a9e69
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue