diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-03 15:35:28 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-03 15:35:28 +0200 |
| commit | 996e5a9e691feeceef495c784a67b54cb20f0cbf (patch) | |
| tree | 1288f232419b6b1e81c87eb350397f2f23bfe8c4 /src/managers/KeybindManager.cpp | |
| parent | fff7534721738b49f8338537bde97d1443391dba (diff) | |
disallow swapping in fullscreen
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index e54b2b88..ce81e95b 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -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); |
