summaryrefslogtreecommitdiffstats
path: root/win/tkWinKey.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-18 13:25:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-18 13:25:46 (GMT)
commit09bb5a861847380efd417c39d4074ec75a832bb8 (patch)
tree28589ac256679824bc19355d9ab629c155239969 /win/tkWinKey.c
parent7ffec88efbd09dc3aca40a6ae78e7842d406a0d3 (diff)
parent508f7365fb64a905f4ce1d7c17518f7acbf9a3e8 (diff)
downloadtk-09bb5a861847380efd417c39d4074ec75a832bb8.zip
tk-09bb5a861847380efd417c39d4074ec75a832bb8.tar.gz
tk-09bb5a861847380efd417c39d4074ec75a832bb8.tar.bz2
Change (non-standard, Windows-only) keysyms "Win_L", "Win_R" and "App" keycodes to be the same as "Super_L", "Super_R" and "Menu". Make old usage deprecated, but - for now - it still works.
Update keysymdef.h to match latest X11R6 version. Fix documentation (some keysym's were still missing)
Diffstat (limited to 'win/tkWinKey.c')
-rw-r--r--win/tkWinKey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinKey.c b/win/tkWinKey.c
index 0ce860f..1183eaa 100644
--- a/win/tkWinKey.c
+++ b/win/tkWinKey.c
@@ -44,7 +44,7 @@ static const KeySym keymap[] = {
NoSymbol, NoSymbol, NoSymbol, NoSymbol, NoSymbol, /*75 0x4B*/
NoSymbol, NoSymbol, NoSymbol, NoSymbol, NoSymbol, /*80 0x50*/
NoSymbol, NoSymbol, NoSymbol, NoSymbol, NoSymbol, /*85 0x55*/
- NoSymbol, XK_Win_L, XK_Win_R, XK_App, NoSymbol, /*90 0x5A*/
+ NoSymbol, XK_Super_L, XK_Super_R, XK_Menu, NoSymbol, /*90 0x5A*/
NoSymbol, NoSymbol, NoSymbol, NoSymbol, NoSymbol, /*95 0x5F*/
NoSymbol, NoSymbol, NoSymbol, NoSymbol, NoSymbol, /*100 0x64*/
NoSymbol, NoSymbol, NoSymbol, NoSymbol, NoSymbol, /*105 0x69*/