diff --git a/dwm.c b/dwm.c index 169adcb..020d418 100644 --- a/dwm.c +++ b/dwm.c @@ -554,6 +554,7 @@ configure(Client *c) { void configurenotify(XEvent *e) { + Client *c; Monitor *m; XConfigureEvent *ev = &e->xconfigure; Bool dirty; @@ -566,8 +567,12 @@ configurenotify(XEvent *e) { if(updategeom() || dirty) { drw_resize(drw, sw, bh); updatebars(); - for(m = mons; m; m = m->next) + for(m = mons; m; m = m->next) { + for(c = m->clients; c; c = c->next) + if(c->isfullscreen) + resizeclient(c, m->mx, m->my, m->mw, m->mh); XMoveResizeWindow(dpy, m->barwin, m->wx, m->by, m->ww, bh); + } focus(NULL); arrange(NULL); }