From f8f3a1b4a196cd893abb7e9042f6a5cbea00affa Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 16 Aug 2014 21:57:51 +0200 Subject: build: drop check for XF86keysym.h This is always included in the Xorg development headers. Strictly speaking it's not necessarily available with other X implementations, but these are hopefully all dead. --- video/out/x11_common.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'video') diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 7863506cf3..d528456e28 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -46,6 +46,7 @@ #include #include #include +#include #if HAVE_XSS #include @@ -59,10 +60,6 @@ #include #endif -#if HAVE_XF86XK -#include -#endif - #if HAVE_XRANDR #include #endif @@ -544,7 +541,6 @@ static const struct mp_keymap keymap[] = { {XK_KP_Right, MP_KEY_KP6}, {XK_KP_Home, MP_KEY_KP7}, {XK_KP_Up, MP_KEY_KP8}, {XK_KP_Page_Up, MP_KEY_KP9}, {XK_KP_Delete, MP_KEY_KPDEL}, -#ifdef XF86XK_AudioPause {XF86XK_MenuKB, MP_KEY_MENU}, {XF86XK_AudioPlay, MP_KEY_PLAY}, {XF86XK_AudioPause, MP_KEY_PAUSE}, {XF86XK_AudioStop, MP_KEY_STOP}, {XF86XK_AudioPrev, MP_KEY_PREV}, @@ -554,7 +550,6 @@ static const struct mp_keymap keymap[] = { {XF86XK_HomePage, MP_KEY_HOMEPAGE}, {XF86XK_WWW, MP_KEY_WWW}, {XF86XK_Mail, MP_KEY_MAIL}, {XF86XK_Favorites, MP_KEY_FAVORITES}, {XF86XK_Search, MP_KEY_SEARCH}, {XF86XK_Sleep, MP_KEY_SLEEP}, -#endif {0, 0} }; -- cgit v1.2.3