[dwm] fgeom patch

From: yy <yiyu.jgl_AT_gmail.com>
Date: Wed, 9 Apr 2008 19:41:53 +0200

As discussed before, this is the patch with the floating geometry
functionality. I removed some loc in restack, but I had to add more in
other places to correctly manage mouse actions when in monocle layout
(isn't a bug the current possibility of moving and resizing windows
while in monocle layout?).
Basically, the patch makes dwm to remember floating geometries when
you change to tiled or monocle layout.
I'm not sure about setting fx and fy on tileresize(), but note that if
you don't do it you will need to add them in movemouse() and
resizemouse() before togglefloating().
I don't really like the idea of remembering floating geometries (at
least floating positions), as I don't like the idea of resizing
floating clients in the tile layout (as in monocle) but this is how I
would implement it.

I'd like to hear what do you think, greetings,

- yiyus || JGL .
PS: The patch adds 15 lines to dwm.c, but 2 of them comes from my
previous patch to viewprevtag() when you try to view the only selected

Received on Wed Apr 09 2008 - 19:41:58 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:32:43 UTC