GNU bug report logs -
#4892
compute_motion, mouse_position
Previous Next
Full log
Message #13 received at 4892 <at> debbugs.gnu.org (full text, mbox):
David Reitter <david.reitter <at> gmail.com> writes:
> 1. (mouse-position) does not return the selected frame when several
> frames overlap (partially). To reproduce, I arrange the frames on the
> screen, then select the lower one by clicking with the mouse, then the
> one that's supposed to go on top. With the mouse cursor still over
> the intersecting section (on top of the upper frame), I do M-: (mouse-
> position). This will then return the wrong frame. Reproducible with
> Emacs -Q (NS port with NS frames)
It looks to me like it returns the last frame that an Emacs mouse event
was generated on. That's not necessarily the last frame clicked as the
standard behaviour on macOS is to NOT generate application events when
an OS window is selected.
It's unclear to me exactly what ns_mouse_position should be doing here.
I've had a look at the documentation and other terminal's
implementations and I'm none the wiser as there seem to be many
exceptions.
--
Alan Third
This bug report was last modified 5 years and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.