Commit ccbc4452 authored by Adrian Robert's avatar Adrian Robert

* nsterm.m (ns_select): Shortcircuit if reentrant call.

parent 69a8e484
2009-03-05 Adrian Robert <Adrian.B.Robert@gmail.com>
* nsterm.m (ns_select): Shortcircuit if reentrant call.
2009-03-05 Kenichi Handa <handa@m17n.org>
* font.c (font_select_entity): New function.
......
......@@ -3221,7 +3221,7 @@ overwriting cursor (usually when cursor on a tab) */
NSEvent *ev;
/* NSTRACE (ns_select); */
if (NSApp == nil /* || ([NSApp isActive] == NO &&
if (NSApp == nil || inNsSelect == 1 /* || ([NSApp isActive] == NO &&
[NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil
inMode:NSDefaultRunLoopMode dequeue:NO] == nil) */)
return select (nfds, readfds, writefds, exceptfds, timeout);
......
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