[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 67af072204: Fix some bugs with multiple terminals on Haiku
From: |
Po Lu |
Subject: |
master 67af072204: Fix some bugs with multiple terminals on Haiku |
Date: |
Wed, 2 Mar 2022 00:22:57 -0500 (EST) |
branch: master
commit 67af072204ce973bdd42c750123749956bc558b9
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix some bugs with multiple terminals on Haiku
* src/haikuterm.c (haiku_mouse_position): Only clear
`mouse_moved' for Haiku frames.
---
src/haikuterm.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/haikuterm.c b/src/haikuterm.c
index 7779b3168b..a765eb715d 100644
--- a/src/haikuterm.c
+++ b/src/haikuterm.c
@@ -2427,14 +2427,19 @@ haiku_mouse_position (struct frame **fp, int insist,
Lisp_Object *bar_window,
enum scroll_bar_part *part, Lisp_Object *x, Lisp_Object
*y,
Time *timestamp)
{
+ Lisp_Object frame, tail;
+ struct frame *f1 = NULL;
+
if (!fp)
return;
block_input ();
- Lisp_Object frame, tail;
- struct frame *f1 = NULL;
+
FOR_EACH_FRAME (tail, frame)
- XFRAME (frame)->mouse_moved = false;
+ {
+ if (FRAME_HAIKU_P (XFRAME (frame)))
+ XFRAME (frame)->mouse_moved = false;
+ }
if (gui_mouse_grabbed (x_display_list) && !EQ (track_mouse, Qdropping))
f1 = x_display_list->last_mouse_frame;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 67af072204: Fix some bugs with multiple terminals on Haiku,
Po Lu <=