Blob


1 /* Copyright (c) 1994-1996 David Hogan, see README for licence details */
3 #ifdef DEBUG
4 #define trace(s, c, e) dotrace((s), (c), (e))
5 #else
6 #define trace(s, c, e)
7 #endif
9 #define setstate setstaterio
12 /* color.c */
13 unsigned long colorpixel(Display*, ScreenInfo*, int, unsigned long, unsigned long);
15 /* main.c */
16 void usage();
17 void initscreen();
18 ScreenInfo *getscreen();
19 Time timestamp();
20 void sendcmessage();
21 void sendconfig();
22 void sighandler();
23 void getevent();
24 void cleanup();
26 /* event.c */
27 void mainloop();
28 void configurereq();
29 void mapreq();
30 void circulatereq();
31 void unmap();
32 void newwindow();
33 void destroy();
34 void clientmesg();
35 void cmap();
36 void property();
37 void shapenotify();
38 void enter();
39 void leave();
40 void focusin();
41 void reparent();
42 void motionnotify();
43 BorderOrient borderorient();
45 /* manage.c */
46 int manage();
47 void scanwins();
48 void setshape();
49 void withdraw();
50 void gravitate();
51 void cmapfocus();
52 void cmapnofocus();
53 void getcmaps();
54 int _getprop();
55 char *getprop();
56 Window getwprop();
57 int getiprop();
58 int getstate();
59 void setstate();
60 void setlabel();
61 void getproto();
62 void gettrans();
64 /* menu.c */
65 void button();
66 void spawn();
67 void reshape();
68 void move();
69 void delete();
70 void hide();
71 void unhide();
72 void unhidec();
73 void renamec();
75 /* client.c */
76 void setactive();
77 void draw_border();
78 void active();
79 void nofocus();
80 void top();
81 Client *getclient();
82 void rmclient();
83 void dump_revert();
84 void dump_clients();
86 /* grab.c */
87 int menuhit();
88 Client *selectwin();
89 int sweep();
90 int drag();
91 int pull();
92 void getmouse();
93 void setmouse();
95 /* error.c */
96 int handler();
97 void fatal();
98 void graberror();
99 void showhints();
100 void dotrace();
102 /* cursor.c */
103 void initcurs();