X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/9d9f18127ffc1bc26358a5d48917ef4e4bafbddc..16c290d8c16fb0fdb574c837c6b1badbc655efe2:/src/frame.c diff --git a/src/frame.c b/src/frame.c index 9a532bfdd2..f26bf9ae9c 100644 --- a/src/frame.c +++ b/src/frame.c @@ -656,7 +656,7 @@ Note that changing the size of one terminal frame automatically affects all. */ { int width, height; - get_tty_size (FRAME_TTY (f), &width, &height); + get_tty_size (fileno (TTY_INPUT (FRAME_TTY (f))), &width, &height); change_frame_size (f, height, width, 0, 0, 0); }