Re: [dev] [st] tty width&height

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Wed, 19 Sep 2012 13:42:02 +0200

Hello.

On Wed, 19 Sep 2012 13:42:02 +0200 Aurélien Aptel <aurelien.aptel_AT_gmail.com> wrote:
> Changeset 317 (14adb004eb78) introduced tw and th in the XWindow
> struct. They are currently equivalent to the window width and height
> (x.w and x.h). What are their purpose?

The tty size is different from the window size. The pty device gets a
different size defined than what the window is. This is needed in custom
geometry definitions and when the window manager isn’t respecting st’s
size hints. If the real width and height isn’t kept artefacts will re‐
main on the unused borders.


Sincerely,

Christoph Lohmann
Received on Wed Sep 19 2012 - 13:42:02 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 19 2012 - 14:00:07 CEST