Browse Source

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.
tags/v1.8.90
Pierre Ossman 6 years ago
parent
commit
cc945566b4
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      vncviewer/win32.c

+ 1
- 0
vncviewer/win32.c View 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 },

Loading…
Cancel
Save