emacs-devel
[Top][All Lists]
Advanced

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

Re: Coordinates and Windows


From: martin rudalics
Subject: Re: Coordinates and Windows
Date: Mon, 20 Jul 2015 08:42:42 +0200

> This is the result of x-frame-geometry for a maximized frame on
> Windows 7, as requested and promised:
>

> ((frame-position -8 . -8) (frame-outer-size 1936 . 1066)
>  (external-border-size 8 . 8) (title-height . 22) (menu-bar-external
>  . t) (menu-bar-size 1920 . 20) (tool-bar-external) (tool-bar-position
>  . top) (tool-bar-size 1920 . 36) (frame-inner-size 1920 . 1008))

Thanks.  Together with your earlier (-8 28 1912 984) as return value of
`window-absolute-pixel-edges' this makes sense now.  The latter adds the
top of the outer frame (-8) to the height of the internal tool bar (36)
disregarding any borders, title and menu bar.  The correct top-y value
in your case would be 78 (+ -8 8 22 20 36).

martin



reply via email to

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