From c0236e8f1db054489bfaf7f9b517a59a8fbafd70 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 9 May 2017 13:40:18 +0000 Subject: Alter callbacks to take a struct instead of a growing number of arguments; greatly simplifies upcoming work. --- mousefunc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mousefunc.c') diff --git a/mousefunc.c b/mousefunc.c index 48d97e4..d771baa 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: mousefunc.c,v 1.116 2017/05/01 12:54:55 okan Exp $ + * $OpenBSD: mousefunc.c,v 1.117 2017/05/09 13:40:18 okan Exp $ */ #include @@ -33,7 +33,7 @@ #include "calmwm.h" void -mousefunc_client_resize(void *ctx, union arg *arg, enum xev xev) +mousefunc_client_resize(void *ctx, struct cargs *cargs) { struct client_ctx *cc = ctx; XEvent ev; @@ -87,7 +87,7 @@ mousefunc_client_resize(void *ctx, union arg *arg, enum xev xev) } void -mousefunc_client_move(void *ctx, union arg *arg, enum xev xev) +mousefunc_client_move(void *ctx, struct cargs *cargs) { struct client_ctx *cc = ctx; XEvent ev; -- cgit v1.2.3-2-gb3c3