Commit d52a1a91 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

ui: add next and prior keysyms



Page-up and Page-down were renamed.  Add the names to the keysym list
so we can parse both old and new names.  The keypad versions are already
present in the vnc map.

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Message-id: 20170726152918.11995-2-kraxel@redhat.com
parent 522fd24c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -480,7 +480,9 @@ static const name2keysym_t name2keysym[] = {
    { "Left", KEY_LEFT },
    { "Up", KEY_UP },
    { "Down", KEY_DOWN },
    { "Next", KEY_NPAGE },
    { "Page_Down", KEY_NPAGE },
    { "Prior", KEY_PPAGE },
    { "Page_Up", KEY_PPAGE },
    { "Insert", KEY_IC },
    { "Delete", KEY_DC },
+2 −0
Original line number Diff line number Diff line
@@ -254,7 +254,9 @@ static const name2keysym_t name2keysym[]={
{"Left", 0xff51},      /* XK_Left */
{"Up", 0xff52},        /* XK_Up */
{"Down", 0xff54},      /* XK_Down */
{"Next", 0xff56},
{"Page_Down", 0xff56}, /* XK_Page_Down */
{"Prior", 0xff55},
{"Page_Up", 0xff55},   /* XK_Page_Up */
{"Insert", 0xff63},    /* XK_Insert */
{"Delete", 0xffff},    /* XK_Delete */