[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Screen size (pixels or whatever)
From: |
Drew Adams |
Subject: |
RE: Screen size (pixels or whatever) |
Date: |
Tue, 23 Jun 2015 07:59:33 -0700 (PDT) |
> >> How do I get screen size in Emacs?
> > The answer is (display-pixel-width) and (display-pixel-height).
>
> This gives you the full width and height, including menu bars. I
> think Drew Adams has code that takes this into account in his 1on1 library
> (http://www.emacswiki.org/emacs/OneOnOneEmacs), but I don't recall
> which file this is in exactly.
`frame-cmds.el' might help; dunno. (It in turn requires `frame-fns.el'.)
http://www.emacswiki.org/emacs/download/frame-cmds.el
http://www.emacswiki.org/emacs/download/frame-fns.el