* nsterm.m (ns_select): Shortcircuit if reentrant call.
This commit is contained in:
parent
69a8e4848d
commit
ccbc445286
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue