bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27053: 26.0.50; x-show-tip gets wrong mouse position if frame moves


From: martin rudalics
Subject: bug#27053: 26.0.50; x-show-tip gets wrong mouse position if frame moves w/o mouse moving on macOS
Date: Thu, 25 May 2017 22:41:44 +0200

> Looks like the right way to get it in screen‐coords is
>
>      [NSEvent mouseLocation]
>
> which returns an NSPoint.
>
> 
https://developer.apple.com/reference/appkit/nsevent/1533380-mouselocation?language=objc
>
> Seems strange to me that it’s in NSEvent, but I guess it makes sense
> to someone.
>
> Patch attached.

I'd say go for it.

martin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]