ratpoison-devel
[Top][All Lists]
Advanced

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

[RP] resize patch


From: Henrik Enberg
Subject: [RP] resize patch
Date: Fri Aug 9 04:46:06 2002
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Here's a patch against Ratpoison CVS that implements resizing of
frames.  There are four new commands: vgrow, vshrink, hgrow and hshrink
that grows or shrinks the currently selected frame vertically or
horizontally. 

There are a few issues.  First, the resize size is hardcoded to 10
pixels in conf.h.  This might be too large or too small.  Perhaps it
should use some percentage of the screen width/height?

Second, it would be nice if patpoison had some kind of prefix arg thingy
like in Emacs, so you could cut down on the number of commands needed.
Then just running the command could mean to grow and running it with
prefux arg could mean shrink.

Implementing just a raw prefix arg wouldn't be too hard, but it would
be nice if you also could give a negative or positive numeric arg to
grow or shrink arg * default-size steps.

Any ideas on this?

Attachment: rp.patch
Description: resize patch

-- 
Booting... /vmemacs.el

reply via email to

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