Commit 3356dff1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix previous commit

parent 90b0c4d1
......@@ -107,7 +107,6 @@ void RegisterMouseEvents (vlc_object_t *obj, xcb_connection_t *conn,
xcb_change_window_attributes (conn, wnd,
XCB_CW_EVENT_MASK, &value);
}
var_Destroy (obj, "mouse-events");
}
/* NOTE: we assume no other thread will be _setting_ our video output events
......
......@@ -608,7 +608,6 @@ static int EmOpen (vlc_object_t *obj)
xcb_window_t window = var_InheritInteger (obj, "drawable-xid");
if (window == 0)
return VLC_EGENERIC;
var_Destroy (obj, "drawable-xid");
if (AcquireDrawable (obj, window))
return VLC_EGENERIC;
......
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