emacs-devel
[Top][All Lists]
Advanced

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

Height of root window after make-frame


From: martin rudalics
Subject: Height of root window after make-frame
Date: Sun, 02 Sep 2012 19:22:56 +0200

If with emacs -Q I do

(let ((window (frame-root-window (make-frame))))
  (window-total-size window))

and afterwards go to the window just created and do there

(window-total-size)

the difference of the values here is two (apparently accounting for the
toolbar).  Is there any way to know the size of that window reliably and
immediately for all systems?

martin, on GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
 of 2012-09-02 on MACHNO



reply via email to

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