diff options
Diffstat (limited to 'java/org/gnu')
| -rw-r--r-- | java/org/gnu/emacs/EmacsWindow.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/org/gnu/emacs/EmacsWindow.java b/java/org/gnu/emacs/EmacsWindow.java index 16ff00070c4..9acdc9502cf 100644 --- a/java/org/gnu/emacs/EmacsWindow.java +++ b/java/org/gnu/emacs/EmacsWindow.java | |||
| @@ -788,6 +788,10 @@ public final class EmacsWindow extends EmacsHandleObject | |||
| 788 | 788 | ||
| 789 | if ((event.getFlags () & KeyEvent.FLAG_CANCELED) != 0) | 789 | if ((event.getFlags () & KeyEvent.FLAG_CANCELED) != 0) |
| 790 | return; | 790 | return; |
| 791 | |||
| 792 | /* Dispatch the key press event that was deferred till now. */ | ||
| 793 | EmacsNative.sendKeyPress (this.handle, event.getEventTime (), | ||
| 794 | state, keyCode, unicode_char); | ||
| 791 | } | 795 | } |
| 792 | 796 | ||
| 793 | EmacsNative.sendKeyRelease (this.handle, event.getEventTime (), | 797 | EmacsNative.sendKeyRelease (this.handle, event.getEventTime (), |