Commit eac4d08f authored by Jan Djärv's avatar Jan Djärv
Browse files

* nsterm.m (keyDown:): Set processingCompose to NO if an emacs key

event is generated.
(doCommandBySelector:): Set processingCompose to NO.
parent 7bc916b4
2013-01-13 Jan Djärv <jan.h.d@swipnet.se>
 
* nsterm.m (keyDown:): Set processingCompose to NO if an emacs key
event is generated.
(doCommandBySelector:): Set processingCompose to NO.
* nsfont.m (ns_findfonts): Add block/unblock_input calls.
Remove check for fkeys count > zero, block/unblock fixes the real bug.
(nsfont_list_family): Add block/unblock_input calls.
......
......@@ -4981,6 +4981,7 @@ most recently updated (I guess), which is not the correct one. */
emacs_event->code = code;
EV_TRAILER (theEvent);
processingCompose = NO;
return;
}
}
......@@ -5171,6 +5172,7 @@ - (void)doCommandBySelector: (SEL)aSelector
if (NS_KEYLOG)
NSLog (@"doCommandBySelector: %@", NSStringFromSelector (aSelector));
processingCompose = NO;
if (aSelector == @selector (deleteBackward:))
{
/* happens when user backspaces over an ongoing composition:
......
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