Focus: warp cursor on movewindow

This commit is contained in:
vaxerski 2023-03-20 01:42:21 +00:00
parent 928de33447
commit 7a514f41a3

View file

@ -1274,6 +1274,8 @@ void CKeybindManager::moveActiveTo(std::string args) {
return;
g_pLayoutManager->getCurrentLayout()->switchWindows(PLASTWINDOW, PWINDOWTOCHANGETO);
g_pCompositor->warpCursorTo(PLASTWINDOW->m_vRealPosition.vec() + PLASTWINDOW->m_vRealSize.vec() / 2.0);
}
void CKeybindManager::toggleGroup(std::string args) {