Skip to content

Commit 8ba54e3

Browse files
committed
expo: fix crash in dispatcher
fixes #475
1 parent 51b8f80 commit 8ba54e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyprexpo/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static void hkAddDamageB(void* thisptr, const pixman_region32_t* rg) {
6666

6767
static SDispatchResult onExpoDispatcher(std::string arg) {
6868

69-
if (g_pOverview->m_isSwiping)
69+
if (g_pOverview && g_pOverview->m_isSwiping)
7070
return {.success = false, .error = "already swiping"};
7171

7272
if (arg == "select") {

0 commit comments

Comments
 (0)