comparison main.c @ 487:be4f90c03582

applied Jukkas patch
author arg@mmvi
date Mon, 25 Sep 2006 08:21:51 +0200
parents 2d8af0d7920d
children 2c29d74b11dc
comparison
equal deleted inserted replaced
486:8d564b9e3cd4 487:be4f90c03582
36 36
37 static int (*xerrorxlib)(Display *, XErrorEvent *); 37 static int (*xerrorxlib)(Display *, XErrorEvent *);
38 static Bool otherwm, readin; 38 static Bool otherwm, readin;
39 39
40 static void 40 static void
41 cleanup() { 41 cleanup(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);
45 unmanage(sel); 45 unmanage(sel);
46 } 46 }
56 XSync(dpy, False); 56 XSync(dpy, False);
57 free(seltag); 57 free(seltag);
58 } 58 }
59 59
60 static void 60 static void
61 scan() { 61 scan(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;
65 65
66 wins = NULL; 66 wins = NULL;
77 if(wins) 77 if(wins)
78 XFree(wins); 78 XFree(wins);
79 } 79 }
80 80
81 static void 81 static void
82 setup() { 82 setup(void) {
83 int i, j; 83 int i, j;
84 unsigned int mask; 84 unsigned int mask;
85 Window w; 85 Window w;
86 XModifierKeymap *modmap; 86 XModifierKeymap *modmap;
87 XSetWindowAttributes wa; 87 XSetWindowAttributes wa;