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

Qt: favor X11 over Wayland

parent 44b083a0
......@@ -408,16 +408,16 @@ static int Open( vlc_object_t *p_this, bool isDialogProvider )
intf_thread_t *p_intf = (intf_thread_t *)p_this;
void *(*thread)(void *) = Thread;
#ifdef QT5_HAS_WAYLAND
if( HasWayland() )
thread = ThreadWayland;
else
#endif
#ifdef QT5_HAS_X11
if( HasX11( p_this ) )
thread = ThreadXCB;
else
#endif
#ifdef QT5_HAS_WAYLAND
if( HasWayland() )
thread = ThreadWayland;
else
#endif
#if defined (QT5_HAS_X11) || defined (QT5_HAS_WAYLAND)
return VLC_EGENERIC;
#endif
......
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