public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: multiwindow X11 and Emacs
Date: Wed, 12 Sep 2012 13:50:00 -0000	[thread overview]
Message-ID: <50508F30.2050204@cornell.edu> (raw)
In-Reply-To: <loom.20120912T081507-978@post.gmane.org>

On 9/12/2012 2:46 AM, Achim Gratz wrote:
>
> Now that X11 works again without crashing and I've found a font that looks OK
> I'm running into a problem again that (I think) has existed for much longer:
>
> When I start emacs from a shell window outside the X11 session (e.g. the same
> mintty that I ran startxwin in) and then iconify emacs-X11 with C-z, the cursor
> won't blink and it won't respond to keyboard input after de-iconifying it from
> the taskbar (I'm using the multiwindow "native" window manager).  I have to
> select something from the menu bar before emacs starts responding again, which
> is a bit of a problem when I've switched the menu bar off... until I remember
> that the context menus in the text pane are still there.
>
> This does not happen if Emacs is started from an Xterm or the menu entry of the
> X server icon in the notification area or even another mintty that's been
> started from within X.  Somehow that C-z makes its way to where it shouldn't go
> when the controlling terminal hasn't been started from the X11 session.  Ideas?

I can't reproduce this on my system.  I'm running 64-bit Windows 7, 
emacs-24.2-1, the latest Cygwin snapshot (2012-08-27), and the test 
version of the X server (1.13.0-1).  Here's what I tried:

1. Start mintty from the "Cygwin Terminal" shortcut.

2. $ startxwin

3. [still in the mintty window] $ DISPLAY=:0 emacs -Q&

4. In the resulting emacs window, C-z.

5. Left click on the emacs icon to de-iconify emacs.

The cursor blinks and emacs responds to keyboard input.

Are you able to reproduce your problem with 'emacs -Q'?

Ken

P.S. Shouldn't this discussion be taking place on the cygwin-xfree list?

--
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:[~2012-09-12 13:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 10:52 Achim Gratz
2012-09-12 13:50 ` Ken Brown [this message]
2012-09-12 14:24   ` Achim Gratz
2012-09-12 14:46     ` Ken Brown
2012-09-12 15:09       ` Achim Gratz
2012-09-14 11:03 ` Wynfield Henman
2012-09-14 13:15   ` Ken Brown
2012-09-15  6:09     ` Wynfield Henman
2012-09-15 11:57       ` Ken Brown
2012-09-15 14:58         ` Ken Brown

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=50508F30.2050204@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.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).