GNU bug report logs - #26853
25.2; mouse-absolute-pixel-position and frame-position + mouse-pixel-position

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Tue, 9 May 2017 11:10:01 UTC

Severity: normal

Tags: moreinfo, wontfix

Found in version 25.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: ynyaaa <at> gmail.com, 26853 <at> debbugs.gnu.org
Subject: bug#26853: 25.2; mouse-absolute-pixel-position and frame-position + mouse-pixel-position
Date: Tue, 09 May 2017 15:11:26 +0200
> mouse-absolute-pixel-position differs from
> frame-position + mouse-pixel-position.
>
> (progn
>    (set-mouse-pixel-position (selected-frame) 0 0)
>    (list (mouse-absolute-pixel-position)
>          (frame-position)
>          (cdr (mouse-pixel-position))))
> =>((164 . 222)
>     (160 . 160)
>     (0 . 0))

Correct.  164 - 160 indicates that your external border is 4 pixels
wide.  222 - 160 indicates that your title bar and menu bar together
have a height of 58 pixels.  Please verify via M-: (frame-geometry).

martin




This bug report was last modified 6 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.