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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: Subject: Re: Emacs raise-frame in cygwin x multiwindow mode To: Gulliver Smith , The Cygwin Mailing List References: From: Jon Turney 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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