nsterm.m (keydown): avoid infinite loop
This commit is contained in:
parent
6ada5ad143
commit
25c5550f48
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-06-26 David Reitter <david.reitter@gmail.com>
|
||||
|
||||
* nsterm.m (keydown): avoid infinite loop
|
||||
|
||||
2009-06-26 Peter Jolly <peter@jollys.org> (tiny change)
|
||||
|
||||
* ftfont.c (get_adstyle_property): Call font_intern_prop with 1 as
|
||||
|
|
|
@ -4468,7 +4468,9 @@ - (void)keyDown: (NSEvent *)theEvent
|
|||
return;
|
||||
|
||||
if (![[self window] isKeyWindow]
|
||||
&& [[theEvent window] isKindOfClass: [EmacsWindow class]])
|
||||
&& [[theEvent window] isKindOfClass: [EmacsWindow class]]
|
||||
/* we must avoid an infinite loop here. */
|
||||
&& (EmacsView *)[[theEvent window] delegate] != self)
|
||||
{
|
||||
/* XXX: There is an occasional condition in which, when Emacs display
|
||||
updates a different frame from the current one, and temporarily
|
||||
|
|
Loading…
Add table
Reference in a new issue