diff --git a/hyprexpo/main.cpp b/hyprexpo/main.cpp index 03e7a18..e53b8ac 100644 --- a/hyprexpo/main.cpp +++ b/hyprexpo/main.cpp @@ -66,7 +66,7 @@ static void hkAddDamageB(void* thisptr, const pixman_region32_t* rg) { static SDispatchResult onExpoDispatcher(std::string arg) { - if (g_pOverview->m_isSwiping) + if (g_pOverview && g_pOverview->m_isSwiping) return {.success = false, .error = "already swiping"}; if (arg == "select") {