public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Harold L Hunt II <huntharo@msu.edu>
To: cygwin-xfree@cygwin.com
Subject: Re: Configuration for multiple monitors
Date: Thu, 08 Jan 2004 18:12:00 -0000	[thread overview]
Message-ID: <3FFD9D67.20406@msu.edu> (raw)
In-Reply-To: <1073584070.7170.0.camel@famine>

Ø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
> 
> 


  reply	other threads:[~2004-01-08 18:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-08 17:47 Øyvind Harboe
2004-01-08 18:12 ` Harold L Hunt II [this message]
2004-01-09  9:23 Øyvind Harboe
2004-01-09 18:59 ` Jack Tanner
2004-01-10 16:34   ` Harold L Hunt II
2004-01-10 16:38 ` Harold L Hunt II

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FFD9D67.20406@msu.edu \
    --to=huntharo@msu.edu \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).