JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed the border issue for mplayer, ff is definately broken when using F11 (fullscree...
[dwm.git] / event.c
diff --git a/event.c b/event.c
index c41c975..72e9ccd 100644 (file)
--- a/event.c
+++ b/event.c
@@ -174,6 +174,8 @@ configurerequest(XEvent *e) {
 
        if((c = getclient(ev->window))) {
                c->ismax = False;
+               if(ev->value_mask & CWBorderWidth)
+                       c->border = ev->border_width;
                if(c->isfixed || c->isfloating || (lt->arrange == floating)) {
                        if(ev->value_mask & CWX)
                                c->x = ev->x;
@@ -189,12 +191,8 @@ configurerequest(XEvent *e) {
                        if(isvisible(c))
                                XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
                }
-               else {
-                       if(ev->value_mask & CWBorderWidth)
-                               c->border = ev->border_width;
+               else
                        configure(c);
-                       c->border = BORDERPX;
-               }
        }
        else {
                wc.x = ev->x;