aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2013-05-20 20:21:04 +0000
committerokan2013-05-20 20:21:04 +0000
commita4fa4ac623b54b25b58caaba5b717165be6915bb (patch)
tree16391330bcca29b3937500ccd6fb18ebe57b653f /calmwm.h
parente9251684bd2c326cd3a874f932ccbca1c93b4e2d (diff)
downloadcwm-a4fa4ac623b54b25b58caaba5b717165be6915bb.tar.gz
- 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 '')
-rw-r--r--calmwm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h
index 5de748a..0f5d3f3 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.h,v 1.205 2013/05/19 23:38:21 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.206 2013/05/20 20:21:04 okan Exp $
*/
#ifndef _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 *);