JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed a bunch of lines through swap removal
[dwm.git] / dwm.h
diff --git a/dwm.h b/dwm.h
index 1f8283c..6843870 100644 (file)
--- a/dwm.h
+++ b/dwm.h
@@ -9,13 +9,13 @@
 
 #define FONT                           "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
 #define BGCOLOR                                "#666699"
-#define FGCOLOR                                "#ffffff"
+#define FGCOLOR                                "#eeeeee"
 #define BORDERCOLOR                    "#9999CC"
 #define MASTERW                                52 /* percent */
 #define WM_PROTOCOL_DELWIN     1
 
 /* tags */
-enum { Tscratch, Tdev, Tirc, Twww, Twork, TLast };
+enum { Tscratch, Tdev, Twww, Twork, TLast };
 
 /********** CUSTOMIZE **********/
 
@@ -103,6 +103,7 @@ extern Client *clients, *sel;
 
 /* bar.c */
 extern void draw_bar();
+extern void barclick(XButtonPressedEvent *e);
 
 /* client.c */
 extern void manage(Window w, XWindowAttributes *wa);
@@ -129,16 +130,13 @@ extern void zoom(Arg *arg);
 extern void gravitate(Client *c, Bool invert);
 
 /* draw.c */
-extern void drawtext(const char *text, Bool border);
+extern void drawtext(const char *text, Bool invert, Bool border);
 extern unsigned long initcolor(const char *colstr);
 extern void initfont(const char *fontstr);
 extern unsigned int textnw(char *text, unsigned int len);
 extern unsigned int textw(char *text);
 extern unsigned int texth(void);
 
-/* event.c */
-extern void discard_events(long even_mask);
-
 /* dev.c */
 extern void update_keys(void);
 extern void keypress(XEvent *e);
@@ -154,8 +152,4 @@ extern void quit(Arg *arg);
 /* util.c */
 extern void error(const char *errstr, ...);
 extern void *emallocz(unsigned int size);
-extern void *emalloc(unsigned int size);
-extern void *erealloc(void *ptr, unsigned int size);
-extern char *estrdup(const char *str);
 extern void spawn(Arg *arg);
-extern void swap(void **p1, void **p2);