]> git.sesse.net Git - vlc/blobdiff - modules/video_output/qte/qte.cpp
X11 video output: give the focus to the video window when going fullscreen, that...
[vlc] / modules / video_output / qte / qte.cpp
index 33cd8490fc24da72a8a2702b767ae1d98d76258d..42d60a958c79e9b1bbb6466a65593885fc901337 100644 (file)
@@ -37,8 +37,6 @@
 extern "C"
 {
 #include <errno.h>                                                 /* ENOMEM */
-#include <stdlib.h>                                                /* free() */
-#include <string.h>                                                /* strerror() */
 
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
@@ -185,7 +183,7 @@ static void Close ( vlc_object_t *p_this )
         vlc_object_detach( p_vout->p_sys->p_event );
 
         /* Kill RunQtThread */
-        p_vout->p_sys->p_event->b_die = VLC_TRUE;
+        vlc_object_kill( p_vout->p_sys->p_event );
         CloseDisplay(p_vout);
 
         vlc_thread_join( p_vout->p_sys->p_event );