aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/keymap.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-09-21 12:48:12 +0200
committerPierre Ossman <ossman@cendio.se>2018-09-21 12:48:12 +0200
commit35cc8d53f9fe8915da3c5b99dee92243c7147ec6 (patch)
tree0cbcb838068611afa42cddeadc51491204ff2c93 /win/rfb_win32/keymap.h
parent3b532f87b26d791b0b64b87aa39141d1a81098e8 (diff)
downloadtigervnc-35cc8d53f9fe8915da3c5b99dee92243c7147ec6.tar.gz
tigervnc-35cc8d53f9fe8915da3c5b99dee92243c7147ec6.zip
Interpret Meta as Alt
Shift+Alt often generates Meta on Unix systems. Assume this is the same thing as Alt on Windows.
Diffstat (limited to 'win/rfb_win32/keymap.h')
-rw-r--r--win/rfb_win32/keymap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/rfb_win32/keymap.h b/win/rfb_win32/keymap.h
index 664312a6..b9b6c310 100644
--- a/win/rfb_win32/keymap.h
+++ b/win/rfb_win32/keymap.h
@@ -134,6 +134,8 @@ static keymap_t keymap[] = {
{ XK_Control_R, VK_CONTROL, 1 },
{ XK_Alt_L, VK_MENU, 0 },
{ XK_Alt_R, VK_MENU, 1 },
+ { XK_Meta_L, VK_MENU, 0 },
+ { XK_Meta_R, VK_MENU, 1 },
// Left & Right Windows keys & Windows Menu Key