[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ce51354432: Fix flicker during mouse DND on Haiku as well
From: |
Po Lu |
Subject: |
master ce51354432: Fix flicker during mouse DND on Haiku as well |
Date: |
Thu, 2 Jun 2022 01:45:39 -0400 (EDT) |
branch: master
commit ce513544327de17e6c485cb6aa886cc9f08c82b3
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix flicker during mouse DND on Haiku as well
* src/haikuterm.c (haiku_read_socket): Don't clear tooltips on
crossing if track-mouse is drag-source and the display is
grabbed.
---
src/haikuterm.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/haikuterm.c b/src/haikuterm.c
index 7f0bc1a8cf..d3a02ff6e5 100644
--- a/src/haikuterm.c
+++ b/src/haikuterm.c
@@ -3289,7 +3289,9 @@ haiku_read_socket (struct terminal *terminal, struct
input_event *hold_quit)
tooltip frame. FIXME: for some reason we don't get
leave notification events for this. */
- if (any_help_event_p)
+ if (any_help_event_p
+ && !(EQ (track_mouse, Qdrag_source)
+ && gui_mouse_grabbed (x_display_list)))
do_help = -1;
break;
}
@@ -3336,7 +3338,9 @@ haiku_read_socket (struct terminal *terminal, struct
input_event *hold_quit)
haiku_new_focus_frame (x_display_list->focused_frame);
- if (any_help_event_p)
+ if (any_help_event_p
+ && !(EQ (track_mouse, Qdrag_source)
+ && gui_mouse_grabbed (x_display_list)))
do_help = -1;
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master ce51354432: Fix flicker during mouse DND on Haiku as well,
Po Lu <=