summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_wm.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-12-09 19:30:57 +0000
committerjsorg71 <jsorg71>2006-12-09 19:30:57 +0000
commitb295e08ad2f450f5bda8682d82a865b0db531382 (patch)
tree0f9af7c907deb72b639679f30b19e5f65acfec94 /xrdp/xrdp_wm.c
parent778b1489d767fdf89befe8be9a91e3ee9e0aed1e (diff)
downloadxrdp-proprietary-b295e08ad2f450f5bda8682d82a865b0db531382.tar.gz
xrdp-proprietary-b295e08ad2f450f5bda8682d82a865b0db531382.zip
let module decide if alt-gr needs to be ignored
Diffstat (limited to 'xrdp/xrdp_wm.c')
-rw-r--r--xrdp/xrdp_wm.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c
index 9c6cdb2f..401a5e4f 100644
--- a/xrdp/xrdp_wm.c
+++ b/xrdp/xrdp_wm.c
@@ -1171,13 +1171,7 @@ xrdp_wm_key(struct xrdp_wm* self, int device_flags, int scan_code)
self->num_lock,
self->scroll_lock,
self->session->client_info->keylayout);
- /* this means don't send anything */
- /* used to qvoid sending alt to xserver eg altgr */
- /* if alt state is down, the xserver avoids the keystroke */
- if (c == 1)
- {
- }
- else if (c != 0)
+ if (c != 0)
{
self->mod->mod_event(self->mod, msg, (unsigned char)c, 0xffff,
scan_code, device_flags);