diff options
Diffstat (limited to '')
| -rw-r--r-- | LICENSE | 4 | ||||
| -rw-r--r-- | client.c | 5 | ||||
| -rw-r--r-- | draw.c | 5 | ||||
| -rw-r--r-- | event.c | 13 | ||||
| -rw-r--r-- | layout.c | 5 | ||||
| -rw-r--r-- | main.c | 8 | ||||
| -rw-r--r-- | tag.c | 5 | ||||
| -rw-r--r-- | util.c | 5 |
8 files changed, 22 insertions, 28 deletions
| @@ -1,7 +1,7 @@ | |||
| 1 | MIT/X Consortium License | 1 | MIT/X Consortium License |
| 2 | 2 | ||
| 3 | (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> | 3 | © 2004-2007 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> | 4 | © 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com> |
| 5 | 5 | ||
| 6 | Permission is hereby granted, free of charge, to any person obtaining a | 6 | Permission is hereby granted, free of charge, to any person obtaining a |
| 7 | copy of this software and associated documentation files (the "Software"), | 7 | copy of this software and associated documentation files (the "Software"), |
| @@ -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 <stdlib.h> | 4 | #include <stdlib.h> |
| 6 | #include <string.h> | 5 | #include <string.h> |
| @@ -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 <string.h> | 4 | #include <string.h> |
| 6 | 5 | ||
| @@ -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; |
| @@ -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 <stdlib.h> | 4 | #include <stdlib.h> |
| 6 | 5 | ||
| @@ -1,7 +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 | |||
| 5 | #include "dwm.h" | 3 | #include "dwm.h" |
| 6 | #include <errno.h> | 4 | #include <errno.h> |
| 7 | #include <locale.h> | 5 | #include <locale.h> |
| @@ -256,7 +254,7 @@ main(int argc, char *argv[]) { | |||
| 256 | XEvent ev; | 254 | XEvent ev; |
| 257 | 255 | ||
| 258 | if(argc == 2 && !strncmp("-v", argv[1], 3)) | 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 | else if(argc != 1) | 258 | else if(argc != 1) |
| 261 | eprint("usage: dwm [-v]\n"); | 259 | eprint("usage: dwm [-v]\n"); |
| 262 | setlocale(LC_CTYPE, ""); | 260 | setlocale(LC_CTYPE, ""); |
| @@ -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 <regex.h> | 4 | #include <regex.h> |
| 6 | #include <stdio.h> | 5 | #include <stdio.h> |
| @@ -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 <stdarg.h> | 4 | #include <stdarg.h> |
| 6 | #include <stdio.h> | 5 | #include <stdio.h> |
