dwm-r1437-moveontagmon.diff - sites - public wiki contents of suckless.org
HTML git clone git://git.suckless.org/sites
DIR Log
DIR Files
DIR Refs
---
dwm-r1437-moveontagmon.diff (348B)
---
1 diff -r bb00510a176a dwm.c
2 --- a/dwm.c Wed Jul 01 19:15:20 2009 +0100
3 +++ b/dwm.c Sat Jul 04 00:54:19 2009 +0200
4 @@ -1530,6 +1530,10 @@
5
6 if(!selmon->sel || !(m = idxtomon(arg->ui)))
7 return;
8 + if(selmon->sel->isfloating) {
9 + selmon->sel->x += m->mx - selmon->mx;
10 + selmon->sel->y += m->my - selmon->my;
11 + }
12 sendmon(selmon->sel, m);
13 }
14