delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/10/30/08:22:42

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 193E23857427
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=dronecode.org.uk
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT com;
bimi=skipped
X-SNCR-Rigid: 62E573CC0E333305
X-Originating-IP: [86.139.199.187]
X-OWM-Source-IP: 86.139.199.187 (GB)
X-OWM-Env-Sender: jonturney AT btinternet DOT com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvgedruddtgdefiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepvddtteffkeevveejgeehgeelhfdtgefgieelgffgudetudefvdeggfeiiefftdevnecukfhppeekiedrudefledrudelledrudekjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtiegnpdhinhgvthepkeeirddufeelrdduleelrddukeejpdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdpnhgspghrtghpthhtohepvddprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhmpdhrtghpthhtohepmhhoshhssegtshdruhhmrghsshdrvgguuh
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Message-ID: <831ebd6a-431e-9355-c8d6-8645e90e1180@dronecode.org.uk>
Date: Sun, 30 Oct 2022 12:21:23 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Subject: Re: New Windows open behind current ones rather than in front
To: moss AT cs DOT umass DOT edu, The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <c9e9f12a-05ca-48d3-e221-559f0a9e6885 AT cs DOT umass DOT edu>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
In-Reply-To: <c9e9f12a-05ca-48d3-e221-559f0a9e6885@cs.umass.edu>
X-Spam-Status: No, score=-1193.0 required=5.0 tests=BAYES_00, FORGED_SPF_HELO,
KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 29UCM9af016293

On 14/10/2022 16:58, Eliot Moss wrote:
> Dear Cygwiners -
> 
> I am having an issue under Windows 11 where new windows, when spawned 
> from the command line of (say) Cygwin bash or WSL2 bash come up *behind* 
> current Windows.  This behavior seems new to Windows 11. Anybody know a 
> setting or technique to control / change this?  Two examples:
> 
> - Spawn Word from Cygwin bash
> - Spawn okular from WSL 2
> 
> If I spawn xterm from Cygwin bash, it comes up in front, but from WSL2 
> bash, it comes up behind.  My X server is the Cygwin one.  Happy to 
> provide more details if this is not enough.

I have seen something like this on occasion with windows created by the 
Cygwin X server, but that seems to be associated with having "focus 
follows mouse" mode turned on.

I'm not sure if that os some problem in the way that the X server 
manages the Z-order of it's windows, or something about the way that the 
X server creates windows interacting with any 'focus stealing 
prevention' heuristic that windows has (See 'ForegroundLockTimeout').

Your first example doesn't seem to involve X at all, so I guess that 
points towards the second theory...


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

- Raw text -


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