aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-11-13 09:08:50 +0100
committerPierre Ossman <ossman@cendio.se>2017-11-13 15:55:51 +0100
commitcc945566b4e384bbbe3b0198320bcb50fb6db40a (patch)
tree71ec39d1c19d2b4c28adbe20aef2f5c76c9acbd5 /vncviewer
parent30b3f926cbafe58e699a1e8893d96817ded21f3d (diff)
downloadtigervnc-cc945566b4e384bbbe3b0198320bcb50fb6db40a.tar.gz
tigervnc-cc945566b4e384bbbe3b0198320bcb50fb6db40a.zip
Send proper keysym when Break is pressed
Ctrl+Pause sends break which results in a different VKEY on Windows. Make sure we map that properly to the equivalent keysym.
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vncviewer/win32.c b/vncviewer/win32.c
index a2132f35..30c87f18 100644
--- a/vncviewer/win32.c
+++ b/vncviewer/win32.c
@@ -129,6 +129,7 @@ void win32_disable_lowlevel_keyboard(HWND hwnd)
}
static const int vkey_map[][3] = {
+ { VK_CANCEL, NoSymbol, XK_Break },
{ VK_BACK, XK_BackSpace, NoSymbol },
{ VK_TAB, XK_Tab, NoSymbol },
{ VK_CLEAR, XK_Clear, NoSymbol },