[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4fc585418b: Fix mouse movement on Haiku
From: |
Po Lu |
Subject: |
master 4fc585418b: Fix mouse movement on Haiku |
Date: |
Thu, 17 Mar 2022 03:19:19 -0400 (EDT) |
branch: master
commit 4fc585418bd557a0920556c76be4c1b3dda62219
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix mouse movement on Haiku
* src/haiku_support.cc (MouseMoved): Make sure grab view exists
before comparing against it.
---
src/haiku_support.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/haiku_support.cc b/src/haiku_support.cc
index f8acd2a4ec..8c45a7adcb 100644
--- a/src/haiku_support.cc
+++ b/src/haiku_support.cc
@@ -1459,7 +1459,7 @@ public:
if (!grab_view_locker.Lock ())
gui_abort ("Couldn't lock grab view locker");
- if (this != grab_view)
+ if (grab_view && this != grab_view)
{
grab_view_locker.Unlock ();
return;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4fc585418b: Fix mouse movement on Haiku,
Po Lu <=