Re: [dev] [dwm] an update of the moveresize patch

2009-11-19 Thread Claudio M. Alessi
I'm not sure what you mean with "old patch" but I use this since very old dwm releases (though with very little changes from time to time): static void moveresize(const Arg *arg) { XEvent ev; if( ! (selmon->sel && arg && selmon->sel->isfloating && arg->v) ) return; resize(selmon

[dev] [dwm] an update of the moveresize patch

2009-11-18 Thread Peter John Hartman
Hi, I find it useful to move and resize windows without the mouse in dwm. Here's a revision of an old patch that was out there. Mine is based on 5.6.1. Caveat emptor: I'm not sure about some of the innards of dwm. I have some comments in the code below which I'd like answers to, if anyone has