Function: frame-native-width
frame-native-width is a function defined in frame.c.
Signature
(frame-native-width &optional FRAME)
Documentation
Return FRAME's native width in pixels.
For a terminal frame, the result really gives the width in characters. If FRAME is omitted or nil, the selected frame is used.
Aliases
Source Code
// Defined in /usr/src/emacs/src/frame.c
{
struct frame *f = decode_any_frame (frame);
#ifdef HAVE_WINDOW_SYSTEM
if (FRAME_WINDOW_P (f))
return make_fixnum (FRAME_PIXEL_WIDTH (f));
else
#endif
return make_fixnum (FRAME_TOTAL_COLS (f));
}