diff options
author | okan <okan> | 2013-05-20 20:21:04 +0000 |
---|---|---|
committer | okan <okan> | 2013-05-20 20:21:04 +0000 |
commit | 270df196ac17363536c44fe342b4e71e1c8450e3 (patch) | |
tree | 73f285a3f099b8b96d5d7e8b8e9b297c01613842 /calmwm.h | |
parent | e14123210a7773a0fda562eb367d71482c872e60 (diff) | |
download | cwm-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.h | 3 |
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 *); |