Skip to content
Permalink
Browse files

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.
  • Loading branch information...
CendioOssman committed Nov 13, 2017
1 parent 30b3f92 commit cc945566b4e384bbbe3b0198320bcb50fb6db40a
Showing with 1 addition and 0 deletions.
  1. +1 −0 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 },

0 comments on commit cc94556

Please sign in to comment.
You can’t perform that action at this time.