delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/24/09:44:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <5087F07C.6030607@dronecode.org.uk>
Date: Wed, 24 Oct 2012 14:43:24 +0100
From: Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: lukashaase AT gmx DOT at
Subject: Re: startxwin.exe only primary monitor
References: <k5sr94$6qp$1 AT ger DOT gmane DOT org>
In-Reply-To: <k5sr94$6qp$1@ger.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 20/10/2012 01:29, Lukas Haase wrote:
> How can I tell startxwin.exe that the whole XWin system shall only use
> the primary monitor?
> 
> I use my tablet PC with tablet function as secondary monitor while
> working on the primary (also with X forwarding). As soon as I use X, the
> stylus stops working on the secondary monitor (although the cursor works
> as normal). Selecting "show root window" reveals that both monitors are
> covered by the root window, most probably causing the problems.

If the stylus stops working for all applications, not just Xwin, I would
suggest this is likely to be a bug elsewhere.

If the root window covers the entire virtual desktop when -nomultimonitors is
passed, that is a defect.

If that is the case, can you run the server with -logverbose 3, and describe
the Windows monitor sizes and positions you have, please.

> I already tried passing "-- -nomultimonitors" but with no success.

The server option -nomultimonitors should be the correct way to achieve this.

Note that the combination '-multiwindow -nomultimonitors' perhaps shouldn't be
allowed, as it doesn't work the way you might be expecting.  You can move the
native windows containing X windows off the primary monitor because no special
constraints are applied on their positioning.  However, they only have useful
contents for that area which intersects the primary monitor, which looks
rather odd.  See [1] for a rather acrimonious discussion of that issue.

[1] http://sourceware.org/ml/cygwin-xfree/2011-07/msg00002.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019