From 8ba54e332cca2bcdae07bb3230e586c12875f1b9 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 13 Sep 2025 00:34:02 +0100 Subject: [PATCH] expo: fix crash in dispatcher fixes #475 --- hyprexpo/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") {