dispatchers: allow moveintogroup when floating (#7818)

This allows to use the moveintogroup dispatcher when windows are floating. I don't know why was this disabled in the first place though.

Cheers!
This commit is contained in:
Aqa-Ib 2024-09-18 12:05:17 +02:00 committed by GitHub
parent 3c9716acfd
commit 0564b46a5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2730,7 +2730,7 @@ SDispatchResult CKeybindManager::moveIntoGroup(std::string args) {
const auto PWINDOW = g_pCompositor->m_pLastWindow.lock(); const auto PWINDOW = g_pCompositor->m_pLastWindow.lock();
if (!PWINDOW || PWINDOW->m_bIsFloating || PWINDOW->m_sGroupData.deny) if (!PWINDOW || PWINDOW->m_sGroupData.deny)
return {}; return {};
auto PWINDOWINDIR = g_pCompositor->getWindowInDirection(PWINDOW, arg); auto PWINDOWINDIR = g_pCompositor->getWindowInDirection(PWINDOW, arg);