aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/win32.c
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-09-30 17:03:28 +0200
committerPierre Ossman <ossman@cendio.se>2014-09-30 17:03:28 +0200
commita7d3dc776552dbe416f0ba63c382ac8ed84b34e1 (patch)
tree9d9d35ad6e706a04c2fbaffb40dce905f51eb8ce /vncviewer/win32.c
parente7c169d738b07b45c2addac16b351334881ada61 (diff)
downloadtigervnc-a7d3dc776552dbe416f0ba63c382ac8ed84b34e1.tar.gz
tigervnc-a7d3dc776552dbe416f0ba63c382ac8ed84b34e1.zip
Handle PrintScreen and SysReq on Windows
This key requires a bit extra care on Windows. We get wildly different messages depending on if Alt is pressed or not. The symbol chosen now follows the standard behaviour on X11.
Diffstat (limited to 'vncviewer/win32.c')
-rw-r--r--vncviewer/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/win32.c b/vncviewer/win32.c
index cf4dc49a..a2132f35 100644
--- a/vncviewer/win32.c
+++ b/vncviewer/win32.c
@@ -148,7 +148,7 @@ static const int vkey_map[][3] = {
{ VK_UP, XK_KP_Up, XK_Up },
{ VK_RIGHT, XK_KP_Right, XK_Right },
{ VK_DOWN, XK_KP_Down, XK_Down },
- { VK_SNAPSHOT, XK_Print, NoSymbol },
+ { VK_SNAPSHOT, XK_Sys_Req, XK_Print },
{ VK_INSERT, XK_KP_Insert, XK_Insert },
{ VK_DELETE, XK_KP_Delete, XK_Delete },
{ VK_LWIN, NoSymbol, XK_Super_L },