summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2016-09-30 15:12:19 +0000
committerokan <okan>2016-09-30 15:12:19 +0000
commit8b26a43bf17b3834de3127408e7274e8effc9beb (patch)
treec17d225d7bc5d3815b94add0fb45eeb2aab8da7a /calmwm.h
parentf63b2e2341b8e883598ab33a46708ae315a63a99 (diff)
downloadcwm-8b26a43bf17b3834de3127408e7274e8effc9beb.tar.gz
cwm-8b26a43bf17b3834de3127408e7274e8effc9beb.tar.xz
cwm-8b26a43bf17b3834de3127408e7274e8effc9beb.zip
Replace mousefunc_sweep_draw() with a generic menu_windraw() using va
lists; use it appropriately for both window dimension and position in
the respective mousefunc calls.

ok bryent@
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h
index 97fa0ed..bbfebea 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -511,6 +511,8 @@ void			 mousefunc_client_move(struct client_ctx *,
 void			 mousefunc_client_resize(struct client_ctx *,
     			    union arg *);
 
+void			 menu_windraw(struct screen_ctx *, Window,
+			     const char *, ...);
 struct menu  		*menu_filter(struct screen_ctx *, struct menu_q *,
 			     const char *, const char *, int,
 			     void (*)(struct menu_q *, struct menu_q *, char *),