]> git.sesse.net Git - vlc/blobdiff - modules/video_output/x11/xcommon.c
Remove argv/argc from libvlc_t (not really needed here)
[vlc] / modules / video_output / x11 / xcommon.c
index a13283272d781de6e3b9de4f72c4708db9ed2bcb..25fc2f9c302f27df932f55c05844e229e1511273 100644 (file)
@@ -1681,13 +1681,14 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
 
         if( !p_vout->b_fullscreen )
         {
+            const char *argv[] = { "vlc", NULL };
+
             /* Set window manager hints and properties: size hints, command,
              * window's name, and accepted protocols */
             XSetWMNormalHints( p_vout->p_sys->p_display,
                                p_win->base_window, &xsize_hints );
             XSetCommand( p_vout->p_sys->p_display, p_win->base_window,
-                         (char**)p_vout->p_libvlc->ppsz_argv,
-                         p_vout->p_libvlc->i_argc );
+                         (char**)argv, 1 );
 
             if( !var_GetBool( p_vout, "video-deco") )
             {