[PATCH] Xinerama support II

Xavier MAILLARD zedek at fxgsproject.org
Sat Jul 27 21:12:06 CEST 2002


Hello fellow coders !

This is my second shot to make vlc support Xinerama. 

This patch contains a small bug fix (BadMatch on resetting focus) and
add a new feature. You can now when using Xinerama and when you are in
fullscreen mode, switch between the possible screens. I mean you can
change on the fly the screen you wanna use to play your video. For that
I have added 2keys actually 4 : nNpP. 'n' stands for next screen if
available and 'p' for previous. Controls are made to prevent from trying
to shoot a video onto a ba screen (actually screen number < -1 and
screen number greater than the max number of screen available).

All works great for me and should be ok for everyone here. 

All you have to do to play with that feature is to checkout the latest
cvs version from videolan repositery and copy this patch into the source
tree. Then just type 'patch -p0 <xinerama.patch' and launch bootstrap to
reconfigure the whole thing. To get Xinerama compiled, you just have to
pass '--enable-xinerama' to the configure script and launch the
classical 'make&&make install'.

For now only xvideo video output has been ported to use xinerama and all
the configuration options are located into the xvideo preference
tab. You can either use them or use directly from the command line by
adding to your cmd line : '--fullscreen --xvideo-xinerama
--xvideo-xineramascreen <number>'

Any comments and/or feedbacks are welcome.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20020727/8eb22b3f/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xinerama.patch
Type: text/x-patch
Size: 26693 bytes
Desc: Xinerama support patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20020727/8eb22b3f/attachment.bin>


More information about the vlc-devel mailing list