applied Peters magic float mode bugfix

This commit is contained in:
garbeam@gmail.com 2011-07-20 18:36:15 +00:00
parent d5c5c52b30
commit 6288c44697

1
dwm.c
View File

@ -1127,7 +1127,6 @@ manage(Window w, XWindowAttributes *wa) {
c->h = c->oldh = wa->height; c->h = c->oldh = wa->height;
c->oldbw = wa->border_width; c->oldbw = wa->border_width;
if(c->w == c->mon->mw && c->h == c->mon->mh) { if(c->w == c->mon->mw && c->h == c->mon->mh) {
c->isfloating = True;
c->x = c->mon->mx; c->x = c->mon->mx;
c->y = c->mon->my; c->y = c->mon->my;
c->bw = 0; c->bw = 0;