* src/haikuterm.c (haiku_read_socket): If no corresponding frame
was found for a keyboard event, clear mouse highlight.
struct haiku_key_event *b = buf;
Mouse_HLInfo *hlinfo = &x_display_list->mouse_highlight;
struct frame *f = haiku_window_to_frame (b->window);
- if (!f)
- continue;
/* If mouse-highlight is an integer, input clears out
mouse highlighting. */
need_flush = 1;
}
+ if (!f)
+ continue;
+
inev.code = b->keysym ? b->keysym : b->multibyte_char;
if (b->keysym)