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: Fri, 17 Jul 2015 19:58:12 +0200

> Why does it matter if we get that accurately, in builds where we don't
> manage those decorations?  We might as well approximate that with some
> reasonable value, and be done, no?

For example, on Windows I need accurate dimensions of decorations to
emulate fullheight and fullwidth fullscreen modes.  And if I want to
display a tooltip at a certain position within a window I need them as
well.

>> This would imply that the tool bar (and maybe even the menu bar) are
>> part of the root window.
>
> Which on Windows, it is, AFAIK.

No.  The root window is beneath the tool bar window separated from the
latter by the internal border.

>>   >> BTW, has Windows 7 an 8 pixel wide border by default?
>>   >
>>   > How can I know?
>>
>> What does M-: (x-frame-geometry) give for you?
>
> This is on XP:
>
>    ((frame-position -4 . -4) (frame-outer-size 1928 . 1088) 
(external-border-size 4 . 4) (title-height . 19) (menu-bar-external . t) 
(menu-bar-size 1920 . 19) (tool-bar-external) (tool-bar-position . top) 
(tool-bar-size 1920 . 36) (frame-inner-size 1920 . 1042))

This doesn't help me to find out why your `window-absolute-pixel-edges'
returns (-8 28 1912 984) on Windows 7.  I need your value for Windows 7.

martin



reply via email to

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