mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
applied Peters magic float mode bugfix
This commit is contained in:
parent
d5c5c52b30
commit
6288c44697
1 changed files with 0 additions and 1 deletions
1
dwm.c
1
dwm.c
|
@ -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…
Reference in a new issue