From: Adrian Robert <adrian.b.robert@gmail.com>
To: David Reitter <david.reitter@gmail.com>
Cc: "emacs.app dev list" <emacs-app-dev-@lists.sourceforge.net>,
Nick Roberts <nickrob@snap.net.nz>,
Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: [Emacs.app dev]: ghost cursor problem is still there
Date: Thu, 21 Aug 2008 12:17:17 -0400 [thread overview]
Message-ID: <F52BB27B-0205-458D-89FC-C366E417DD23@gmail.com> (raw)
In-Reply-To: <1CF99C70-4389-4A61-8E38-4B41B176F00A@gmail.com>
On Aug 21, 2008, at 11:51 AM, David Reitter wrote:
> On 21 Aug 2008, at 09:16, Adrian Robert wrote:
>>>
>>> I can. After startup, select a row of text, click onto another
>>> application, then back. I don't know if this was there before the
>>> patch.
>>
>> I checked, it was not. In addition the patch introduces the
>> following bug: the cursor is not changed to hollow box from block
>> when focus on the frame is taken away.
>
> This turned out to be the same, simple to fix bug.
OK, this fixes the bug for switching between two frames. However w/
only one frame active, clicking to another app does not switch to a
hollow box. In addition, a ghost cursor can be generated if the
cursor is on some text, then you click at the bottom of the buffer
after focus is given. (But the same recipe fails for multiple frames,
even when switching to another app instead of the other frame.) I
believe these are enough clues to indicate the ghost cursor problem
relates to a suite of focus-handling changes in core emacs that came
in between rc2a and rc3, but were never fully sync'ed up with from the
NS side. Seiji Zenitani also mentioned something about this a while
back.
I will try to allocate a block of time to look at it this this
weekend, but if someone else can take a look / a crack at it before
then, I (and I'm sure other users) would be grateful. The relevant
functions (maybe best to look at w32term.c, not xterm) are
x_new_focus_frame, x_detect_focus_change et al., while under NS there
are currently -windowDidBecomeKey, -windowDidResignKey.
-Adrian
next prev parent reply other threads:[~2008-08-21 16:17 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5f089c510807191428n349bdf55gebdff2e0ca668db7@mail.gmail.com>
[not found] ` <7C93A2A7-54FD-43A9-BA1B-0B8502FFA5C6@gmail.com>
[not found] ` <1AFEFF71-2AEA-4282-915E-B03050E98592@gmail.com>
[not found] ` <DE62387E-6E40-4C0B-BA66-723880CEDF06@gmail.com>
[not found] ` <8ED46157-6210-4767-A5AE-0DDE4C9DB1B3@gmail.com>
2008-07-22 13:41 ` [Emacs.app dev]: ghost cursor problem is still there David Reitter
2008-07-27 19:42 ` Adrian Robert
2008-08-20 5:22 ` David Reitter
2008-08-20 12:27 ` Adrian Robert
2008-08-20 20:44 ` David Reitter
2008-08-21 7:33 ` Nick Roberts
2008-08-21 9:08 ` David Reitter
2008-08-21 12:07 ` Adrian Robert
2008-08-21 13:16 ` Adrian Robert
2008-08-21 15:51 ` David Reitter
2008-08-21 16:17 ` Adrian Robert [this message]
2008-08-22 9:08 ` Nick Roberts
2008-08-21 15:12 ` David Reitter
2008-08-23 17:30 ` Dan Nicolaescu
2008-08-23 20:47 ` David Reitter
2008-08-23 21:13 ` Dan Nicolaescu
2008-08-23 22:33 ` David Reitter
2008-08-23 23:23 ` Dan Nicolaescu
2008-08-24 0:09 ` Nick Roberts
2008-08-24 8:02 ` Andreas Schwab
2008-08-24 1:53 ` Dan Nicolaescu
2008-08-24 19:51 ` David Reitter
2008-08-24 20:59 ` Dan Nicolaescu
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=F52BB27B-0205-458D-89FC-C366E417DD23@gmail.com \
--to=adrian.b.robert@gmail.com \
--cc=david.reitter@gmail.com \
--cc=emacs-app-dev-@lists.sourceforge.net \
--cc=emacs-devel@gnu.org \
--cc=nickrob@snap.net.nz \
/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.