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 /* key.c */
65 void keypress();
66 void keyrelease();
67 void keysetup();
69 /* menu.c */
70 void button();
71 void spawn();
72 void reshape();
73 void move();
74 void delete();
75 void hide();
76 void unhide();
77 void unhidec();
78 void renamec();
79 void button2();
80 void initb2menu();
81 void switch_to();
82 void switch_to_c();
86 /* client.c */
87 void setactive();
88 void draw_border();
89 void active();
90 void nofocus();
91 void top();
92 Client *getclient();
93 void rmclient();
94 void dump_revert();
95 void dump_clients();
96 void shuffle(int);
98 /* grab.c */
99 int menuhit();
100 Client *selectwin();
101 int sweep();
102 int drag();
103 int pull();
104 void getmouse();
105 void setmouse();
107 /* error.c */
108 int handler();
109 void fatal();
110 void graberror();
111 void showhints();
112 void dotrace();
114 /* cursor.c */
115 void initcurs();
117 void ShowEvent(XEvent*);