Commit 363e4c34 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen Committed by Rémi Duraffort

Fixed uninitialized value.

This was leading to a crash when using --no-keyboard-events
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent d6b83653
...@@ -617,6 +617,7 @@ static int EmOpen (vlc_object_t *obj) ...@@ -617,6 +617,7 @@ static int EmOpen (vlc_object_t *obj)
if (p_sys == NULL || xcb_connection_has_error (conn)) if (p_sys == NULL || xcb_connection_has_error (conn))
goto error; goto error;
p_sys->keys = NULL;
wnd->handle.xid = window; wnd->handle.xid = window;
wnd->control = Control; wnd->control = Control;
wnd->sys = p_sys; wnd->sys = p_sys;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment