]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix mouse movement on Haiku
authorPo Lu <luangruo@yahoo.com>
Thu, 17 Mar 2022 07:17:13 +0000 (07:17 +0000)
committerPo Lu <luangruo@yahoo.com>
Thu, 17 Mar 2022 07:17:13 +0000 (07:17 +0000)
* src/haiku_support.cc (MouseMoved): Make sure grab view exists
before comparing against it.

src/haiku_support.cc

index f8acd2a4ecac0be31d2e713801a8799a085519c5..8c45a7adcb10e2457fc28ad476a8b09425b0c4e8 100644 (file)
@@ -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;