]> source.dussan.org Git - tigervnc.git/commitdiff
Send proper keysym when Break is pressed
authorPierre Ossman <ossman@cendio.se>
Mon, 13 Nov 2017 08:08:50 +0000 (09:08 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 13 Nov 2017 14:55:51 +0000 (15:55 +0100)
Ctrl+Pause sends break which results in a different VKEY on Windows.
Make sure we map that properly to the equivalent keysym.

vncviewer/win32.c

index a2132f3547a6813389bd3048192adce56b0842cd..30c87f18cf0f661a3cc94dde38e5d7129b1c10a8 100644 (file)
@@ -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 },