emacs-devel
[Top][All Lists]
Advanced

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

Re: Coordinates and Windows


From: Eli Zaretskii
Subject: Re: Coordinates and Windows
Date: Fri, 17 Jul 2015 17:21:34 +0300

> Date: Fri, 17 Jul 2015 15:36:08 +0200
> From: martin rudalics <address@hidden>
> CC: address@hidden
> 
>  >> I agree.  Just that it's not all too trivial to calculate it.
>  >
>  > In pixels or in rows?
> 
> In pixels.

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?

>  >> Just 32 pixels for title, menu, and tool bar?
>  >
>  > Maybe I'm confused, but doesn't that include only the title and menu
>  > on Windows?  Or maybe just the title?
> 
> 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.

>  >> 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))



reply via email to

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