fix crash when yanking mouse before init

This commit is contained in:
vaxerski
2022-04-28 17:57:24 +02:00
parent 51172129d7
commit 4b985d3e38
3 changed files with 8 additions and 0 deletions

View File

@@ -23,6 +23,9 @@ void CInputManager::onMouseWarp(wlr_pointer_motion_absolute_event* e) {
void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
if (!g_pCompositor->m_bReadyToProcess)
return;
// update stuff
updateDragIcon();