diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-08-21 13:44:28 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-08-22 15:10:29 +0200 |
commit | 38fcebbb00d849d46158f66793ae0f7f3c7c7ec4 (patch) | |
tree | 079b2b174ca333ed0446d24280e487af9a093024 /vncviewer | |
parent | 48ef54d59b7abbc06d660dbfe431708b10d8e3dc (diff) | |
download | tigervnc-38fcebbb00d849d46158f66793ae0f7f3c7c7ec4.tar.gz tigervnc-38fcebbb00d849d46158f66793ae0f7f3c7c7ec4.zip |
Use different keysyms for left and right alt on OS X
The server will get them confused otherwise if they are pressed
at the same time.
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/Viewport.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 81dc7ac0..ec48b02e 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -534,6 +534,8 @@ void Viewport::handleKeyPress(int keyCode, rdr::U32 keySym) keySym = XK_Super_L; break; case XK_Alt_L: + keySym = XK_Mode_switch; + break; case XK_Alt_R: keySym = XK_ISO_Level3_Shift; break; |