From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: make-pointer-invisible on Windows
Date: Fri, 26 Jun 2015 12:39:41 +0300 [thread overview]
Message-ID: <83twtudd0i.fsf@gnu.org> (raw)
In-Reply-To: <558D181A.4070402@gmx.at>
> Date: Fri, 26 Jun 2015 11:15:06 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: emacs-devel@gnu.org
>
> > Btw, how does this work on X? When we wait in waitpid for a
> > subprocess launched via "M-!", we are not supposed to call the
> > read-socket hook, so the X messages that tell us to redraw portions of
> > our frames are not supposed to be redrawn.
>
> .. not supposed to be processed.
OK, thanks for confirming my understanding.
> I didn't believe you could (reasonably) redraw the frame while
> waiting for a subprocess, but you somehow sounded optimistic ...
I understand what happens on XP: Windows sens us the WM_PAINT
messages, which the input thread picks up and passes to the main
thread. But the main thread is busy-waiting inside waitpid, so it
doesn't react to those messages until the subprocess exist.
What I don't understand is how come the frame _is_ redrawn on Windows
7, and that's something I still need to look into. It might mean
there is a way of keeping the frame display updated after all. But if
X doesn't, then the motivation for that gets lower, of course.
next prev parent reply other threads:[~2015-06-26 9:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 9:17 make-pointer-invisible on Windows martin rudalics
2015-06-24 14:50 ` Eli Zaretskii
2015-06-24 17:40 ` martin rudalics
2015-06-24 19:21 ` Eli Zaretskii
2015-06-25 6:36 ` martin rudalics
2015-06-25 15:02 ` Eli Zaretskii
2015-06-26 6:55 ` martin rudalics
2015-06-26 8:43 ` Eli Zaretskii
2015-06-26 9:15 ` martin rudalics
2015-06-26 9:39 ` Eli Zaretskii [this message]
2015-06-26 10:14 ` martin rudalics
2015-06-26 10:24 ` Eli Zaretskii
2015-06-28 14:52 ` Eli Zaretskii
2015-06-29 9:46 ` martin rudalics
2015-06-28 14:51 ` Eli Zaretskii
2015-06-29 9:45 ` martin rudalics
2015-06-29 14:43 ` Eli Zaretskii
2015-06-29 17:16 ` martin rudalics
2015-06-29 17:40 ` Eli Zaretskii
2015-06-30 6:01 ` martin rudalics
2015-06-30 15:09 ` Eli Zaretskii
2015-07-02 13:21 ` martin rudalics
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=83twtudd0i.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rudalics@gmx.at \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.