[vlc-commits] xcb/window: fix warning

Steve Lhomme git at videolan.org
Thu Oct 24 11:10:28 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Oct 24 10:31:07 2019 +0200| [344e119919a3a2b9e126a3b79cbf8a31771e6aa4] | committer: Steve Lhomme

xcb/window: fix warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=344e119919a3a2b9e126a3b79cbf8a31771e6aa4
---

 modules/video_output/xcb/window.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index 13d7dd0dc4..491e5e17cf 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -222,7 +222,9 @@ static xcb_cursor_t CursorCreate(xcb_connection_t *conn, xcb_window_t root)
 
 static int ProcessEvent(vout_window_t *wnd, xcb_generic_event_t *ev)
 {
+#ifdef HAVE_XKBCOMMON
     vout_window_sys_t *sys = wnd->sys;
+#endif
     int ret = 0;
 
     switch (ev->response_type & 0x7f)



More information about the vlc-commits mailing list