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@
This commit is contained in:
okan
2016-09-30 15:12:19 +00:00
parent f63b2e2341
commit 8b26a43bf1
3 changed files with 40 additions and 26 deletions

View File

@@ -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 *),