vlc | branch: master | Thomas Guillem <[email protected]> | Tue Nov 27 16:34:09 2018 +0100| [4f05d75d22b1b4e24bbaaa47ce5c029b95b305cf] | committer: Thomas Guillem
vout: x11: fix build with HAVE_XKBCOMMON > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4f05d75d22b1b4e24bbaaa47ce5c029b95b305cf --- modules/video_output/xcb/window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c index e7cb3510bd..c6c58dd5cc 100644 --- a/modules/video_output/xcb/window.c +++ b/modules/video_output/xcb/window.c @@ -231,6 +231,7 @@ static int ProcessEvent(vout_window_t *wnd, xcb_generic_event_t *ev) case XCB_KEY_PRESS: { #ifdef HAVE_XKBCOMMON + vout_window_sys_t *p_sys = wnd->sys; xcb_key_press_event_t *e = (xcb_key_press_event_t *)ev; uint_fast32_t vk = vlc_xkb_get_one(sys->xkb.state, e->detail); @@ -289,7 +290,9 @@ static int ProcessEvent(vout_window_t *wnd, xcb_generic_event_t *ev) break; default: + { #ifdef HAVE_XKBCOMMON + vout_window_sys_t *p_sys = wnd->sys; if (sys->xkb.ctx != NULL && ev->response_type == sys->xkb.base) { ProcessKeyboardEvent(wnd, ev); @@ -297,6 +300,7 @@ static int ProcessEvent(vout_window_t *wnd, xcb_generic_event_t *ev) } #endif msg_Dbg (wnd, "unhandled event %"PRIu8, ev->response_type); + } } free (ev); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
