summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-04-13 11:32:38 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-04-13 11:32:38 +0200
commit399993c6b5d594278bf822e2981ebfe8bfcb58c7 (patch)
tree52af1ed868398c257394802ac83d7d622597e5d8 /event.c
parentnext version will be 4.0, so don't expect it within the next days (diff)
downloaddwm-399993c6b5d594278bf822e2981ebfe8bfcb58c7.tar.gz
dwm-399993c6b5d594278bf822e2981ebfe8bfcb58c7.zip
making Copyright notices more compact
Diffstat (limited to 'event.c')
-rw-r--r--event.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/event.c b/event.c
index 6386659..4d9a1e6 100644
--- a/event.c
+++ b/event.c
@@ -1,6 +1,5 @@
1/* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> 1/* © 2004-2007 Anselm R. Garbe <garbeam at gmail dot com>
2 * See LICENSE file for license details. 2 * See LICENSE file for license details. */
3 */
4#include "dwm.h" 3#include "dwm.h"
5#include <stdio.h> 4#include <stdio.h>
6#include <stdlib.h> 5#include <stdlib.h>
@@ -174,8 +173,6 @@ configurerequest(XEvent *e) {
174 173
175 if((c = getclient(ev->window))) { 174 if((c = getclient(ev->window))) {
176 c->ismax = False; 175 c->ismax = False;
177 if(ev->value_mask & CWBorderWidth)
178 c->border = ev->border_width;
179 if(c->isfixed || c->isfloating || (lt->arrange == floating)) { 176 if(c->isfixed || c->isfloating || (lt->arrange == floating)) {
180 if(ev->value_mask & CWX) 177 if(ev->value_mask & CWX)
181 c->x = ev->x; 178 c->x = ev->x;
@@ -191,8 +188,12 @@ configurerequest(XEvent *e) {
191 if(isvisible(c)) 188 if(isvisible(c))
192 XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); 189 XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
193 } 190 }
194 else 191 else {
192 if(ev->value_mask & CWBorderWidth)
193 c->border = ev->border_width;
195 configure(c); 194 configure(c);
195 c->border = BORDERPX;
196 }
196 } 197 }
197 else { 198 else {
198 wc.x = ev->x; 199 wc.x = ev->x;