Hi,

>> This mode automatically sets the multiplemonitors option and it cannot be 
>> overriden from command line.
> What is it that makes you think this?

According to XWin docs:
"-[no]multimonitors or -[no]multiplemonitors
Create a screen 0 that covers all monitors [the primary monitor] on a system 
with multiple monitors. This option is currently enabled by default in 
-multiwindow mode."

And this is exactly what happens. When I start a program, it shows up on both 
monitors (half here, half there). This is not supposed to happen (see next 
point). 

> I'm not sure if I understand what you are expecting to happen with 
> -multiwindow -nomultiplemonitors: 

I have 2 monitors. Imagine you turn off one of them and you want to use the 
other one only. Currently, Cygwin-X will span over all monitors - unless you 
use the multiplemonitors option. I think the goal for this option is very clear 
from the docs: use only 1 monitor for the root window, no matter what. So I 
would expect this behavior: you should not be able to move off windows from the 
primary monitor, at all. The point is, you want to limit the root window to one 
monitor only.

I see the -multiwindow and -nomultiplemonitors options completely independent 
from each other. They should not have any relationship at all. The first just 
tells how you want to map windows within the root window, while the other 
simply specifies how many monitors you want to use for the root window.

I thought it is very clear from the docs, however your questions make me 
uncertain. Isn't is supposed to work like that?

Thanks,
Endre



Jon TURNEY <jon.tur...@dronecode.org.uk> írta:
>On 30/06/2011 13:16, szalai endre wrote:>
> Guys, I am going crazy. I have 2 monitors and I would like Cygwin-X to use 
> only the primary. So I am using the nomultiplemonitors option like this:>
> xwin.exe -nomultiplemonitors>
> >
> But. Cygwin has the following modes:>
> (default) Windowed or rooted mode.>
> This is not an option, I want to use the multiwindow mode. Otherwise I could 
> just use VNC, using Cygwin-X for this is pointless (for me).>
> >
> -multiwindow>
> This mode automatically sets the multiplemonitors option and it cannot be 
> overriden from command line.>
>
What is it that makes you think this?>
>
For the current version of Cygwin/X this is not the case.  However, perhaps it>
should be, as it doesn't work in a useful way.  You can move the X windows off>
the primary monitor, but they don't get their contents drawn when you do so>
(because the underlying X screen is only the size of the primary monitor)>
>
I'm not sure if I understand what you are expecting to happen with>
-multiwindow -nomultiplemonitors:  Should the X windows be forced to stay on>
the primary monitor when you try to move them off it?  It might also help to>
describe your use case in a bit more detail.>
>
> -rootless>
> Unusable, since I can't move to resize the windows.>
>
You will need to run an X window manager to move, resize etc. the X windows in>
this mode, as described at [1]>
>
> -mwextwm>
> This one gets frozen, so it's not really an option right now.>
>
As bug reports go, this leaves something to be desired :-)>
>
> Do I see correctly, that the only mode that would be usable for me 
> (multiwindow) cannot be used with the option -nomultiplemonitors?>
> >
> Please advice.>
>
[1] 
http://x.cygwin.com/docs/ug/configure.html#configure-cygwin-x-windowing-modes>
>
-- >
Jon TURNEY>
Volunteer Cygwin/X X Server maintainer>
>
-->
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple>
Problem reports:       http://cygwin.com/problems.html>
Documentation:         http://x.cygwin.com/docs/>
FAQ:                   http://x.cygwin.com/docs/faq/>
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Reply via email to