From 399993c6b5d594278bf822e2981ebfe8bfcb58c7 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Fri, 13 Apr 2007 11:32:38 +0200 Subject: making Copyright notices more compact --- event.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index 6386659..4d9a1e6 100644 --- a/event.c +++ b/event.c @@ -1,6 +1,5 @@ -/* (C)opyright MMVI-MMVII Anselm R. Garbe - * See LICENSE file for license details. - */ +/* © 2004-2007 Anselm R. Garbe + * See LICENSE file for license details. */ #include "dwm.h" #include #include @@ -174,8 +173,6 @@ 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; @@ -191,8 +188,12 @@ configurerequest(XEvent *e) { if(isvisible(c)) XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); } - else + else { + if(ev->value_mask & CWBorderWidth) + c->border = ev->border_width; configure(c); + c->border = BORDERPX; + } } else { wc.x = ev->x; -- cgit v1.2.3