diff options
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpinput.c')
-rw-r--r-- | xorg/X11R7.6/rdp/rdpinput.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xorg/X11R7.6/rdp/rdpinput.c b/xorg/X11R7.6/rdp/rdpinput.c index b8e1746a..cefb5156 100644 --- a/xorg/X11R7.6/rdp/rdpinput.c +++ b/xorg/X11R7.6/rdp/rdpinput.c @@ -830,11 +830,14 @@ check_keysa(void) void sendDownUpKeyEvent(int type, int x_scancode) { - /* if type is keydown, send keydown + keyup */ - /* this allows us to ignore keyup events */ + /* if type is keydown, send keyup + keydown */ if (type == KeyPress) { + rdpEnqueueKey(KeyRelease, x_scancode); rdpEnqueueKey(KeyPress, x_scancode); + } + else + { rdpEnqueueKey(KeyRelease, x_scancode); } } |