applied Peters magic float mode bugfix

new_dwm
garbeam@gmail.com 14 years ago
parent d5c5c52b30
commit 6288c44697

@ -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;

Loading…
Cancel
Save