msg_Err( p_intf, "Could not connect to X server" );
return VLC_EGENERIC;
}
+ XCloseDisplay( p_display );
#endif
/* Allocations of p_sys */
p_sys->p_popup_menu = NULL;
p_sys->p_mi = NULL;
p_sys->p_playlist = pl_Hold( p_intf );
-#ifdef Q_WS_X11
- p_sys->display = p_display;
-#endif
/* */
if( vlc_clone( &p_sys->thread, Thread, p_intf, VLC_THREAD_PRIORITY_LOW ) )
QVLCApp::triggerQuit();
vlc_join (p_sys->thread, NULL);
-#ifdef Q_WS_X11
- XCloseDisplay ((Display *)p_sys->display);
-#endif
pl_Release (p_this);
delete p_sys;
}
const char *psz_filepath; /* Last path used in dialogs */
QMenu * p_popup_menu; /* The right click menu */
-#ifdef Q_WS_X11 /* WTH is this included in ALL files? :( */
- void *display;
-#endif
};
#define THEPL p_intf->p_sys->p_playlist