[LONG} Testing Xfce HEAD with Xinerama

Olivier Fourdan fourdan at xfce.org
Wed May 12 18:06:25 CEST 2004


Brian,

Check xinerama code from libxfcegui4, as long as you use libxfcegui4,
there is a xinerama simulation mode. It can help a lot to debug w/out
the HW.

In xfce4/libxfcegui4/libxfcegui4/xinerama.h:

-----------------------------------------------------------------------
/* Define EMULATE_XINERAMA to emulate Xinerama on a systems without
Xinerama
 * native support. For DEBUG purpose ONLY !
 */
#undef EMULATE_XINERAMA
-----------------------------------------------------------------------

While in xinerama.c:

-----------------------------------------------------------------------
#ifdef EMULATE_XINERAMA
/* NOTE : Look in xinerama.h to define EMULATE_XINERAMA
 * (do not do it here)
 * 
 * We simulate 2 screens side by side on a 1280x1024 screen :
 * Left screen is 640x600 pixels wide with 212 unused pixels 
 *   on top and bottom of screen (this is to simulate the
 *   black holes as show below :
 * Right screen is 640x1024 pixels wide
 *
 *  //////////////////+-----------------+
 *  ////BLACK HOLE////|                 |
 *  //////////////////|                 |
 *  +-----------------|                 |
 *  |                 |                 |
 *  |                 |                 |
 *  |      First      |      Second     |
 *  |     Screen      |      Screen     |
 *  |                 |                 |
 *  |                 |                 |
 *  +-----------------|                 |
 *  //////////////////|                 |
 *  ////BLACK HOLE////|                 |
 *  //////////////////+-----------------+
 *
 */
-----------------------------------------------------------------------



Cheers,
Olivier.

On Wed, 2004-05-12 at 16:59, Brian J. Tarricone wrote:
> Francois Le Clainche wrote:
> 
> >xfdesktop is not xinerama aware and that's a known statement :)
> >  
> >
> woohoo!  you can test for me - i have support partially done on my local 
> copy, but no way to test it myself (xnest doesn't work properly in 
> xinerama mode).
> 
>     -brian
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce4-dev
-- 
 - Olivier Fourdan - fourdan at xfce.org - http://www.xfce.org - 




More information about the Xfce4-dev mailing list