diff --git a/wmtv/src/wmtv.c b/wmtv/src/wmtv.c index 5c4c581..e054ecc 100644 --- a/wmtv/src/wmtv.c +++ b/wmtv/src/wmtv.c @@ -41,7 +41,7 @@ #include #include #include -#include +#include #include #include #include @@ -666,7 +666,7 @@ main(int argc, char *argv[]) break; case KeyPress: if ((Event.xany.window == fmwin) && fmode) { - switch(XKeycodeToKeysym(display, Event.xkey.keycode, 0)) { + switch(XkbKeycodeToKeysym(display, Event.xkey.keycode, 0, 0)) { case XK_Up: if (isource == TELEVISION) ChanUp();