ratpoison-devel
[Top][All Lists]
Advanced

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

[RP] Re: resize patch


From: Henrik Enberg
Subject: [RP] Re: resize patch
Date: Tue Aug 13 11:12:02 2002
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Emilio Lopes <address@hidden> writes:

> Henrik Enberg wrote:
>
>> There is also a new "defresizeunit" command used for setting the number
>> of pixels one step resizes.  I found that is is really hard to choose a
>> default that fits all possible screen resolutions.  It would be
>> possible to just resize a pixel at a time, but that makes interactive
>> use annoyingly slow.
>
> I'm not an X programmer (or even a real C-programmer!), so I must ask:
> how difficult it is to resize text based apps (xterms e.g.) by lines,
> like other WMs do?

It would be pretty difficult to get right in Ratpoison, since it must
resize more than one window at a time.  Windows that wants to be resized
in columns and lines sets a hint based on the font size, so if one uses
different fonts in different windows it will be hard to decide which one
to use.  Further complicating the matter is that there can be more than
one window in a frame, so what is correct for one window can be utterly
wrong for another.

> Also: would it be hard to check for a "%"-sign after the argument of
> "defresizeunit" and act accordingly?

Not particularly.

-- 
Booting... /vmemacs.el



reply via email to

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