diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-04-13 12:22:00 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-04-13 12:22:00 +0200 |
commit | be8d6d40f60b45f941bd9cb6896b83ce223b6406 (patch) | |
tree | c6e359f44c14a16c2101812813d4c37f60487710 /event.c | |
parent | f0c2353393ac97ab759a59a2569f7cac725a3c91 (diff) | |
download | dwm-be8d6d40f60b45f941bd9cb6896b83ce223b6406.tar dwm-be8d6d40f60b45f941bd9cb6896b83ce223b6406.tar.gz dwm-be8d6d40f60b45f941bd9cb6896b83ce223b6406.tar.bz2 |
changing order of c->border restorage
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; @@ -190,11 +192,9 @@ configurerequest(XEvent *e) { XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); } else { - if(ev->value_mask & CWBorderWidth) - c->border = ev->border_width; configure(c); - c->border = BORDERPX; } + c->border = BORDERPX; } else { wc.x = ev->x; |