public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: Gulliver Smith <gulliver.m.smith@gmail.com>,
	The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Emacs raise-frame in cygwin x multiwindow mode
Date: Sat, 12 May 2018 14:51:00 -0000	[thread overview]
Message-ID: <745557e6-d4ac-d66d-5caf-144ef882c85f@dronecode.org.uk> (raw)
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

      reply	other threads:[~2018-05-12 14:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03 18:02 Gulliver Smith
2018-05-12 14:51 ` Jon Turney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=745557e6-d4ac-d66d-5caf-144ef882c85f@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin@cygwin.com \
    --cc=gulliver.m.smith@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).