Ver código fonte

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 anos atrás
pai
commit
cc945566b4
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      vncviewer/win32.c

+ 1
- 0
vncviewer/win32.c Ver arquivo

@@ -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 },

Carregando…
Cancelar
Salvar