diff options
author | Po Lu <luangruo@yahoo.com> | 2022-03-17 07:17:13 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-03-17 07:17:13 +0000 |
commit | 4fc585418bd557a0920556c76be4c1b3dda62219 (patch) | |
tree | 38b8483f95aee617f935b279178974752356521f | |
parent | 13762d24b88a370f349d308c48b28b94bcbbad18 (diff) | |
download | emacs-4fc585418bd557a0920556c76be4c1b3dda62219.tar.gz |
Fix mouse movement on Haiku
* src/haiku_support.cc (MouseMoved): Make sure grab view exists
before comparing against it.
-rw-r--r-- | src/haiku_support.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |