From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41461 invoked by alias); 12 May 2018 14:43:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 41452 invoked by uid 89); 12 May 2018 14:43:43 -0000 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 Received: from out2-smtp.messagingengine.com (HELO out2-smtp.messagingengine.com) (66.111.4.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 12 May 2018 14:43:42 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C413B25C14; Sat, 12 May 2018 10:43:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 12 May 2018 10:43:40 -0400 X-ME-Sender: Received: from [192.168.1.102] (host86-160-189-108.range86-160.btcentralplus.com [86.160.189.108]) by mail.messagingengine.com (Postfix) with ESMTPA id 55493E43C8; Sat, 12 May 2018 10:43:40 -0400 (EDT) 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 14:51:00 -0000 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 X-SW-Source: 2018-05/txt/msg00155.txt.bz2 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