Re: [dwm] feature request: moving/resizing without mouse

From: pancake <pancake_AT_youterm.com>
Date: Wed, 29 Aug 2007 23:41:47 +0200

On Wed, 29 Aug 2007 19:45:08 +0200
"Anselm R. Garbe" <arg_AT_suckless.org> wrote:

> On Tue, Aug 28, 2007 at 09:58:51AM +0800, anhnmncb wrote:
> > I like using dwm without mouse, but I find that it is impossible
> > moving/resizing windows without it, can dwm add such function so I
> > can use MODKey-R to resize and MODKey-<arrow key> to move windows?
>
> I'm not sure if keyboard-driven resizals should be included into
> mainstream dwm. I think there are good reasons for not doing it,
> the best one is that I don't resize windows with the mouse manually.

Then you'll be able to resize them with the _keyboard_ manually ;)

I personally think that a window resizal will be good because of the
new possibilities. I don't usually resize windows manually (out of tiled),
because non-tiled wms and layouts are no productive in any way. (Well,
they have less cpu usage because of the missing automatic window resization
and moving algorithms).

I have patched my dwm with the three patches for resizing windows, and
I can say that none of them satisfy me completely. I think that things
like keeping the window size when floating/unfloating a window are
importants.

The other two window-resizing patches are wrong, they can be probably
merged giving more flexibility and hoping that the resulting code becomes
clear :)

I think that all this kind of floating-layout patches collides a bit
with the dwm philosophy because they are adding functionalities for a mode
that is allowed because of the impossibility of some applications to work
properly on tiled mode.

I don't know if dwm must or not provide "helpers" for these buggy applications.

The idea of maintaining these functionalities as patches is maybe the cleaner for me.

I think it's a best practice, because you are forced to not to use applications
that doesn't work in this way.

  --pancake
Received on Wed Aug 29 2007 - 23:41:06 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:51:36 UTC