This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Configuration for multiple monitors


Ãyvind,

Give a man a fish, he eats for one day. Teach a man to fish...

Source is viewable here:

http://pdx.freedesktop.org/cgi-bin/viewcvs.cgi/xc/programs/Xserver/hw/xwin/?cvsroot=xorg&only_with_tag=CYGWIN


Do the following:


1) Look at winprocarg.c/winInitializeDefaultScreens

2) Change the line:
	g_ScreenInfo[i].fMultipleMonitors = FALSE;
   to:
	g_ScreenInfo[i].fMultipleMonitors = TRUE;

3) Look at winprocarg.c/ddxProcessArgument

4) Find the section that starts with:
  /*
   * Look for the '-multiplemonitors' argument
   */

5) Add a similar section for -nomultimonitors and -nomultiplemonitors that sets the flag to FALSE instead of to TRUE.

6) Pull the CVS tree following the instructions here:
	http://xfree86.cygwin.com/devel/server/

7) Make your changes as above.

8) Run 'cvs -z3 diff -up > multi-monitor.diff' in hw/xwin and send in the patch.

9) I will compile it for you and post it in the next release. If you want to compile it yourself, check the Contributor's Guide (mind you, it references the XFree86.org CVS tree, which has been replaced with freedesktop.org for us):

http://xfree86.cygwin.com/docs/cg/prog-build-native.html

Harold

Ãyvind Harboe wrote:

A good configuration option is no configuration option :-)

Is there any reason not to make -multiplemonitors default for XWin?

With the default setting, the default behaviour when extending the desktop to
two monitors is broken. This is a known problem.

A machine with a single monitor behaves correctly with the -multiplemonitors option.

Perhaps this is already in the works:

http://sources.redhat.com/ml/cygwin-xfree/2003-12/msg00096.html


Ãyvind





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]