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

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

bug#14233: 24.3; Don't constrain frame size to character multiples


From: Jan Djärv
Subject: bug#14233: 24.3; Don't constrain frame size to character multiples
Date: Wed, 24 Apr 2013 19:50:21 +0200

24 apr 2013 kl. 19:15 skrev Eli Zaretskii <address@hidden>:

>> Date: Wed, 24 Apr 2013 08:39:39 +0200
>> From: martin rudalics <address@hidden>
>> CC: address@hidden, address@hidden, address@hidden
>> 
>>> Can you explain what macros/functions would you like to have, exactly,
>>> to be able to do this job cleanly?  Maybe FRAME_MENUBAR_HEIGHT
>>> etc. are not what you need, but perhaps there are other means to get
>>> the information cleanly.
>> 
>> A function that would tell me in a platform independent way the pixel
>> offset of the frame's root window from the top edge of the frame's
>> "client rectangle" (sorry for the Windows parlance).
> 
> Does Emacs even know that today, in any way, form, or shape?  At least
> with toolkits, I'm not sure this is possible without having the
> toolkit tell us this information.  But I'm not the expert on this.

Emacs knows this, but every toolkit has its own implementation on how to get 
the information.  And some toolkits sometimes lies to us (Gtk+ 3.x).

        Jan D.







reply via email to

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