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

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

bug#26853: 25.2; mouse-absolute-pixel-position and frame-position + mous


From: martin rudalics
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





reply via email to

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