From 6683b9c99889c3bbc28f721777801aef4ba84bf9 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 30 Sep 2016 15:12:19 +0000 Subject: 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@ --- calmwm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 3ad75e4..6b8acca 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.316 2016/09/29 00:21:55 okan Exp $ + * $OpenBSD: calmwm.h,v 1.317 2016/09/30 15:12:19 okan Exp $ */ #ifndef _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 *), -- cgit v1.2.3-2-gb3c3