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