From: Po Lu Date: Thu, 17 Mar 2022 07:17:13 +0000 (+0000) Subject: Fix mouse movement on Haiku X-Git-Tag: emacs-29.0.90~1931^2~1078 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4fc585418bd557a0920556c76be4c1b3dda62219;p=emacs.git Fix mouse movement on Haiku * src/haiku_support.cc (MouseMoved): Make sure grab view exists before comparing against it. --- diff --git a/src/haiku_support.cc b/src/haiku_support.cc index f8acd2a4eca..8c45a7adcb1 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;