[vlc-devel] commit: XReparentWindow seems to be needed here to get video on correct screen in (Ilkka Ollakka )

git version control git at videolan.org
Sat Oct 18 14:46:04 CEST 2008


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sat Oct 18 15:45:05 2008 +0300| [2132eadea2f89b9662053ef8600fc514493dd0ab] | committer: Ilkka Ollakka 

XReparentWindow seems to be needed here to get video on correct screen in
xinerama setup.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2132eadea2f89b9662053ef8600fc514493dd0ab
---

 modules/video_output/x11/xcommon.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/x11/xcommon.c b/modules/video_output/x11/xcommon.c
index 8235e63..b6db118 100644
--- a/modules/video_output/x11/xcommon.c
+++ b/modules/video_output/x11/xcommon.c
@@ -2215,12 +2215,10 @@ static void ToggleFullScreen ( vout_thread_t *p_vout )
  * the focus should go there or not, so let the wm decided */
 #define APPFOCUS 0
         /* Make sure the change is effective */
-#if BADFS // RASTER: why do this? you already mapped the window in CreateWindow?
         XReparentWindow( p_vout->p_sys->p_display,
                          p_vout->p_sys->p_win->base_window,
                          DefaultRootWindow( p_vout->p_sys->p_display ),
-                         -2, -2 );
-#endif
+                         0, 0 );
 
 #ifdef HAVE_XINERAMA
         if( XineramaQueryExtension( p_vout->p_sys->p_display, &i_d1, &i_d2 ) &&




More information about the vlc-devel mailing list