about summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2013-05-20 20:21:04 +0000
committerokan <okan>2013-05-20 20:21:04 +0000
commit270df196ac17363536c44fe342b4e71e1c8450e3 (patch)
tree73f285a3f099b8b96d5d7e8b8e9b297c01613842 /calmwm.h
parente14123210a7773a0fda562eb367d71482c872e60 (diff)
downloadcwm-270df196ac17363536c44fe342b4e71e1c8450e3.tar.gz
cwm-270df196ac17363536c44fe342b4e71e1c8450e3.tar.xz
cwm-270df196ac17363536c44fe342b4e71e1c8450e3.zip
- configure menuwin with the screen, then create the xft drawable using
  the menu window since that's the only place on which we draw
- elminate the need to change the drawable on every font draw
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index b45e9df..5671ece 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -426,7 +426,6 @@ struct menu  		*menu_filter(struct screen_ctx *, struct menu_q *,
 			     char *, char *, int,
 			     void (*)(struct menu_q *, struct menu_q *, char *),
 			     void (*)(struct menu *, int));
-void			 menu_init(struct screen_ctx *);
 void			 menuq_clear(struct menu_q *);
 
 int			 parse_config(const char *, struct conf *);
@@ -463,7 +462,7 @@ void			 xu_ptr_ungrab(void);
 void			 xu_sendmsg(Window, Atom, long);
 void			 xu_set_wm_state(Window win, int);
 void			 xu_xft_draw(struct screen_ctx *, const char *,
-			     Drawable, int, int, int);
+			     int, int, int);
 int			 xu_xft_width(XftFont *, const char *, int);
 void 			 xu_xorcolor(XftColor, XftColor, XftColor *);