Commit de3f71d6 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

[USE_MAC_TSM] (mac_handle_text_input_event):

Check WINDOWP before using XWINDOW.
parent 2a58c9dd
2007-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.c [USE_MAC_TSM] (mac_handle_text_input_event):
Check WINDOWP before using XWINDOW.
2007-06-27 Juanma Barranquero <lekktu@gmail.com>
 
* buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring.
......
......@@ -10244,6 +10244,9 @@ mac_handle_text_input_event (next_handler, event, data)
previous events may change some states about display. */
if (NILP (Foverlay_get (Vmac_ts_active_input_overlay, Qbefore_string)))
{
if (!WINDOWP (echo_area_window))
return eventNotHandledErr;
/* Active input area is displayed in the echo area. */
w = XWINDOW (echo_area_window);
f = WINDOW_XFRAME (w);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment