delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/05/12/10:43:54

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=cXebyUiADBd3EKXx
RimMSpvmBgIPFLE431S7b/W3syqL5vBaHGv+H0P4HRwJI/CbWsggRwiZenej/Bm+
EOUq81eYJa6mlU2P6Zq0gMA4XNxaCj4CrEm/ZeNv7EtdUYTsip7BGpbI/BvUdOJS
zt7/gBV+1clYLP8YKga6EPVwizk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=iE2eAmV/2WpcHlHvYdQIiG
UetWs=; b=K3+2aA06iFJEV/oIkGOhSzudAMthnBs2zyhpITrvLnpuic3wTxav9Z
rCNARYlQXG6lDgc0MRMnKhaq4R2us98fX5aTYVB8Wwx8S6J/LowoTAyGritqDftO
XvJS5nw3RvPbcet3C8uhDInEMlGgRCa7T95W8cYGRYoRy4cmKU4Dg=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=multi, keen, smith, Smith
X-HELO: out2-smtp.messagingengine.com
X-ME-Sender: <xms:nP32Wsc8s3T5gk6kPVwYDqG6ydNMSL-Hfzbb5iAqktImbv8iVKnGiw>
Subject: Re: Emacs raise-frame in cygwin x multiwindow mode
To: Gulliver Smith <gulliver DOT m DOT smith AT gmail DOT com>,
The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <CAK2rWZXDNY-wpWTm7G=LVzB9XtsP2CMtwZbMOw2ctmXW44DAAg AT mail DOT gmail DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Message-ID: <745557e6-d4ac-d66d-5caf-144ef882c85f@dronecode.org.uk>
Date: Sat, 12 May 2018 15:43:39 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CAK2rWZXDNY-wpWTm7G=LVzB9XtsP2CMtwZbMOw2ctmXW44DAAg@mail.gmail.com>

On 03/05/2018 19:02, Gulliver Smith wrote:
> A quick search show messages way back from 2004 on this topic from
> several different authors including myself.
> 
> The problem is that when running Cygwin X in multi window mode,
> "raise-frame" calls from emacs clients do not raise windows.
> 
> E.g., in a frame I call "(setq f (selected-frame))" then put another
> frame on top and run "(raise-frame f)". The frame does not rise.
> 
> I'm running "/usr/bin/X -multiwindow -listen tcp" on both Windows 10
> and Windows 7 boxes, with emacs 25 in a virtual machine.
> 
> There is a proposed patch in
> https://www.cygwin.com/ml/cygwin-xfree/2011-08/msg00034.html (7 years
> ago)
> 
> I'm not in a position to compile cygwin X, and the patch probably
> isn't relevant to the latest source code in any case.
> 
> Is there any news?

Not really.  I'm aware of this as an issue, but as that thread goes on 
to discuss [1], fixing this is complex, and I'm not really keen on 
adding another bodge on top of already unclear implementation.

I think it would be best if someone had the time and motivation to 
remove the current clutter, reimplement the window stacking properly, 
taking care to test the scenarios outlined in that discussion, but that 
seems unlikely to happen any time soon...

[1] https://cygwin.com/ml/cygwin-xfree/2011-09/msg00001.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