diff options
| author | Po Lu | 2025-05-05 08:51:42 +0800 |
|---|---|---|
| committer | Po Lu | 2025-05-05 08:51:48 +0800 |
| commit | b97b3b057ca8128cb479f8d3893816d146cfef59 (patch) | |
| tree | 42a871237ee6a6ca95f3a394366ff9257bf25e9e /src | |
| parent | 815dea7b59392d83ca8f9e98d1569484aea605ad (diff) | |
| download | emacs-b97b3b057ca8128cb479f8d3893816d146cfef59.tar.gz emacs-b97b3b057ca8128cb479f8d3893816d146cfef59.zip | |
Synchronize Android and Haiku terminal frontends with X
* src/androidterm.c (handle_one_android_event):
* src/haikuterm.c (haiku_read_socket): Port recent changes to
handle_one_xevent.
Diffstat (limited to 'src')
| -rw-r--r-- | src/androidterm.c | 6 | ||||
| -rw-r--r-- | src/haikuterm.c | 6 | ||||
| -rw-r--r-- | src/xterm.c | 3 |
3 files changed, 7 insertions, 8 deletions
diff --git a/src/androidterm.c b/src/androidterm.c index 96f595f3bdf..beab3406fdd 100644 --- a/src/androidterm.c +++ b/src/androidterm.c | |||
| @@ -957,9 +957,9 @@ handle_one_android_event (struct android_display_info *dpyinfo, | |||
| 957 | /* If mouse-highlight is an integer, input clears out | 957 | /* If mouse-highlight is an integer, input clears out |
| 958 | mouse highlighting. */ | 958 | mouse highlighting. */ |
| 959 | if (!hlinfo->mouse_face_hidden && FIXNUMP (Vmouse_highlight) | 959 | if (!hlinfo->mouse_face_hidden && FIXNUMP (Vmouse_highlight) |
| 960 | && (any == 0 | 960 | && (any == NULL |
| 961 | || !EQ (any->tool_bar_window, hlinfo->mouse_face_window) | 961 | || (!EQ (any->tool_bar_window, hlinfo->mouse_face_window) |
| 962 | || !EQ (any->tab_bar_window, hlinfo->mouse_face_window))) | 962 | && !EQ (any->tab_bar_window, hlinfo->mouse_face_window)))) |
| 963 | { | 963 | { |
| 964 | mouse_frame = hlinfo->mouse_face_mouse_frame; | 964 | mouse_frame = hlinfo->mouse_face_mouse_frame; |
| 965 | 965 | ||
diff --git a/src/haikuterm.c b/src/haikuterm.c index 5c0863d3509..75c82ebdf31 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c | |||
| @@ -3352,9 +3352,9 @@ haiku_read_socket (struct terminal *terminal, struct input_event *hold_quit) | |||
| 3352 | /* If mouse-highlight is an integer, input clears out | 3352 | /* If mouse-highlight is an integer, input clears out |
| 3353 | mouse highlighting. */ | 3353 | mouse highlighting. */ |
| 3354 | if (!hlinfo->mouse_face_hidden && FIXNUMP (Vmouse_highlight) | 3354 | if (!hlinfo->mouse_face_hidden && FIXNUMP (Vmouse_highlight) |
| 3355 | && (f == 0 | 3355 | && (f == NULL |
| 3356 | || !EQ (f->tool_bar_window, hlinfo->mouse_face_window) | 3356 | || (!EQ (f->tool_bar_window, hlinfo->mouse_face_window) |
| 3357 | || !EQ (f->tab_bar_window, hlinfo->mouse_face_window))) | 3357 | && !EQ (f->tab_bar_window, hlinfo->mouse_face_window)))) |
| 3358 | { | 3358 | { |
| 3359 | mouse_frame = hlinfo->mouse_face_mouse_frame; | 3359 | mouse_frame = hlinfo->mouse_face_mouse_frame; |
| 3360 | 3360 | ||
diff --git a/src/xterm.c b/src/xterm.c index 03064acbe6c..0ff7804112f 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -20201,8 +20201,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, | |||
| 20201 | 20201 | ||
| 20202 | /* If mouse-highlight is an integer, input clears out | 20202 | /* If mouse-highlight is an integer, input clears out |
| 20203 | mouse highlighting. */ | 20203 | mouse highlighting. */ |
| 20204 | if (!hlinfo->mouse_face_hidden | 20204 | if (!hlinfo->mouse_face_hidden && FIXNUMP (Vmouse_highlight) |
| 20205 | && FIXNUMP (Vmouse_highlight) | ||
| 20206 | && (f == NULL | 20205 | && (f == NULL |
| 20207 | || (!EQ (f->tab_bar_window, hlinfo->mouse_face_window) | 20206 | || (!EQ (f->tab_bar_window, hlinfo->mouse_face_window) |
| 20208 | #if ! defined (USE_GTK) | 20207 | #if ! defined (USE_GTK) |