making Copyright notices more compact
399993c6
8 file(s) · +22 −28
| 1 | 1 | MIT/X Consortium License |
|
| 2 | 2 | ||
| 3 | - | (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
|
| 4 | - | (C)opyright MMVI-MMVII Sander van Dijk <a dot h dot vandijk at gmail dot com> |
|
| 3 | + | © 2004-2007 Anselm R. Garbe <garbeam at gmail dot com> |
|
| 4 | + | © 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com> |
|
| 5 | 5 | ||
| 6 | 6 | Permission is hereby granted, free of charge, to any person obtaining a |
|
| 7 | 7 | copy of this software and associated documentation files (the "Software"), |
| 1 | - | /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | - | * See LICENSE file for license details. |
|
| 3 | - | */ |
|
| 1 | + | /* © 2004-2007 Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | + | * See LICENSE file for license details. */ |
|
| 4 | 3 | #include "dwm.h" |
|
| 5 | 4 | #include <stdlib.h> |
|
| 6 | 5 | #include <string.h> |
| 1 | - | /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | - | * See LICENSE file for license details. |
|
| 3 | - | */ |
|
| 1 | + | /* © 2004-2007 Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | + | * See LICENSE file for license details. */ |
|
| 4 | 3 | #include "dwm.h" |
|
| 5 | 4 | #include <string.h> |
|
| 6 | 5 |
| 1 | - | /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | - | * See LICENSE file for license details. |
|
| 3 | - | */ |
|
| 1 | + | /* © 2004-2007 Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | + | * See LICENSE file for license details. */ |
|
| 4 | 3 | #include "dwm.h" |
|
| 5 | 4 | #include <stdio.h> |
|
| 6 | 5 | #include <stdlib.h> |
|
| 174 | 173 | ||
| 175 | 174 | if((c = getclient(ev->window))) { |
|
| 176 | 175 | c->ismax = False; |
|
| 177 | - | if(ev->value_mask & CWBorderWidth) |
|
| 178 | - | c->border = ev->border_width; |
|
| 179 | 176 | if(c->isfixed || c->isfloating || (lt->arrange == floating)) { |
|
| 180 | 177 | if(ev->value_mask & CWX) |
|
| 181 | 178 | c->x = ev->x; |
|
| 191 | 188 | if(isvisible(c)) |
|
| 192 | 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 | 194 | configure(c); |
|
| 195 | + | c->border = BORDERPX; |
|
| 196 | + | } |
|
| 196 | 197 | } |
|
| 197 | 198 | else { |
|
| 198 | 199 | wc.x = ev->x; |
|
| 1 | - | /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | - | * See LICENSE file for license details. |
|
| 3 | - | */ |
|
| 1 | + | /* © 2004-2007 Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | + | * See LICENSE file for license details. */ |
|
| 4 | 3 | #include "dwm.h" |
|
| 5 | 4 | #include <stdlib.h> |
|
| 6 | 5 |
| 1 | - | /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | - | * See LICENSE file for license details. |
|
| 3 | - | */ |
|
| 4 | - | ||
| 1 | + | /* © 2004-2007 Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | + | * See LICENSE file for license details. */ |
|
| 5 | 3 | #include "dwm.h" |
|
| 6 | 4 | #include <errno.h> |
|
| 7 | 5 | #include <locale.h> |
|
| 256 | 254 | XEvent ev; |
|
| 257 | 255 | ||
| 258 | 256 | if(argc == 2 && !strncmp("-v", argv[1], 3)) |
|
| 259 | - | eprint("dwm-"VERSION", (C)opyright MMVI-MMVII Anselm R. Garbe\n"); |
|
| 257 | + | eprint("dwm-"VERSION", © 2004-2007 Anselm R. Garbe\n"); |
|
| 260 | 258 | else if(argc != 1) |
|
| 261 | 259 | eprint("usage: dwm [-v]\n"); |
|
| 262 | 260 | setlocale(LC_CTYPE, ""); |
|
| 1 | - | /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | - | * See LICENSE file for license details. |
|
| 3 | - | */ |
|
| 1 | + | /* © 2004-2007 Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | + | * See LICENSE file for license details. */ |
|
| 4 | 3 | #include "dwm.h" |
|
| 5 | 4 | #include <regex.h> |
|
| 6 | 5 | #include <stdio.h> |
| 1 | - | /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | - | * See LICENSE file for license details. |
|
| 3 | - | */ |
|
| 1 | + | /* © 2004-2007 Anselm R. Garbe <garbeam at gmail dot com> |
|
| 2 | + | * See LICENSE file for license details. */ |
|
| 4 | 3 | #include "dwm.h" |
|
| 5 | 4 | #include <stdarg.h> |
|
| 6 | 5 | #include <stdio.h> |