diff options
| author | Jan Djärv | 2013-01-13 13:08:31 +0100 |
|---|---|---|
| committer | Jan Djärv | 2013-01-13 13:08:31 +0100 |
| commit | eac4d08fb1864aa178cfa0037352f5a0a7a20597 (patch) | |
| tree | ec2c64d83482f1d998d07085e169dbe4c3b568bd /src | |
| parent | 7bc916b48d69e5b47bb09db43b85a622dbeaf38d (diff) | |
| download | emacs-eac4d08fb1864aa178cfa0037352f5a0a7a20597.tar.gz emacs-eac4d08fb1864aa178cfa0037352f5a0a7a20597.zip | |
* nsterm.m (keyDown:): Set processingCompose to NO if an emacs key
event is generated.
(doCommandBySelector:): Set processingCompose to NO.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/nsterm.m | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a002eaf33d8..5c6c5180be5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2013-01-13 Jan Djärv <jan.h.d@swipnet.se> | 1 | 2013-01-13 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 2 | ||
| 3 | * nsterm.m (keyDown:): Set processingCompose to NO if an emacs key | ||
| 4 | event is generated. | ||
| 5 | (doCommandBySelector:): Set processingCompose to NO. | ||
| 6 | |||
| 3 | * nsfont.m (ns_findfonts): Add block/unblock_input calls. | 7 | * nsfont.m (ns_findfonts): Add block/unblock_input calls. |
| 4 | Remove check for fkeys count > zero, block/unblock fixes the real bug. | 8 | Remove check for fkeys count > zero, block/unblock fixes the real bug. |
| 5 | (nsfont_list_family): Add block/unblock_input calls. | 9 | (nsfont_list_family): Add block/unblock_input calls. |
diff --git a/src/nsterm.m b/src/nsterm.m index 0fd062b7f17..48efac3f70b 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -4981,6 +4981,7 @@ not_in_argv (NSString *arg) | |||
| 4981 | 4981 | ||
| 4982 | emacs_event->code = code; | 4982 | emacs_event->code = code; |
| 4983 | EV_TRAILER (theEvent); | 4983 | EV_TRAILER (theEvent); |
| 4984 | processingCompose = NO; | ||
| 4984 | return; | 4985 | return; |
| 4985 | } | 4986 | } |
| 4986 | } | 4987 | } |
| @@ -5171,6 +5172,7 @@ not_in_argv (NSString *arg) | |||
| 5171 | if (NS_KEYLOG) | 5172 | if (NS_KEYLOG) |
| 5172 | NSLog (@"doCommandBySelector: %@", NSStringFromSelector (aSelector)); | 5173 | NSLog (@"doCommandBySelector: %@", NSStringFromSelector (aSelector)); |
| 5173 | 5174 | ||
| 5175 | processingCompose = NO; | ||
| 5174 | if (aSelector == @selector (deleteBackward:)) | 5176 | if (aSelector == @selector (deleteBackward:)) |
| 5175 | { | 5177 | { |
| 5176 | /* happens when user backspaces over an ongoing composition: | 5178 | /* happens when user backspaces over an ongoing composition: |