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();
74 void button2();
75 void initb2menu();
76 void switch_to();
77 void switch_to_c();
81 /* client.c */
82 void setactive();
83 void draw_border();
84 void active();
85 void nofocus();
86 void top();
87 Client *getclient();
88 void rmclient();
89 void dump_revert();
90 void dump_clients();
92 /* grab.c */
93 int menuhit();
94 Client *selectwin();
95 int sweep();
96 int drag();
97 int pull();
98 void getmouse();
99 void setmouse();
101 /* error.c */
102 int handler();
103 void fatal();
104 void graberror();
105 void showhints();
106 void dotrace();
108 /* cursor.c */
109 void initcurs();