added a marker for the flash fullscreen issue

This commit is contained in:
garbeam@gmail.com 2011-07-24 10:41:43 +01:00
parent c99fe7dd7d
commit 69e7d7dfd3

1
dwm.c
View file

@ -1127,6 +1127,7 @@ 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; // regression with flash, XXXX
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;