summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorarg@mmvi <unknown>2006-09-25 08:21:51 +0200
committerarg@mmvi <unknown>2006-09-25 08:21:51 +0200
commit6b25d06d7d159bf89d740847fedc876ab0137b6b (patch)
tree49f46f104acb96c49eda4ae0f30415011ee57bf6 /main.c
parentremoved all dotile checks (diff)
downloaddwm-6b25d06d7d159bf89d740847fedc876ab0137b6b.tar.gz
dwm-6b25d06d7d159bf89d740847fedc876ab0137b6b.zip
applied Jukkas patch
Diffstat (limited to '')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index b3c753e..7cd3a32 100644
--- a/main.c
+++ b/main.c
@@ -38,7 +38,7 @@ static int (*xerrorxlib)(Display *, XErrorEvent *);
38static Bool otherwm, readin; 38static Bool otherwm, readin;
39 39
40static void 40static void
41cleanup() { 41cleanup(void) {
42 close(STDIN_FILENO); 42 close(STDIN_FILENO);
43 while(sel) { 43 while(sel) {
44 resize(sel, True, TopLeft); 44 resize(sel, True, TopLeft);
@@ -58,7 +58,7 @@ cleanup() {
58} 58}
59 59
60static void 60static void
61scan() { 61scan(void) {
62 unsigned int i, num; 62 unsigned int i, num;
63 Window *wins, d1, d2; 63 Window *wins, d1, d2;
64 XWindowAttributes wa; 64 XWindowAttributes wa;
@@ -79,7 +79,7 @@ scan() {
79} 79}
80 80
81static void 81static void
82setup() { 82setup(void) {
83 int i, j; 83 int i, j;
84 unsigned int mask; 84 unsigned int mask;
85 Window w; 85 Window w;