From 6a31b02d91fe2e7808b1cc3f1c2ad7ba74d313d3 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Fri, 13 Jan 2012 20:49:28 +0200 Subject: suppress unused parameter warning --- monsterwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monsterwm.c') diff --git a/monsterwm.c b/monsterwm.c index ab74b1a..8a71e8d 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -384,7 +384,7 @@ void maprequest(XEvent *e) { } void mousemove(const Arg *arg) { - if (!current) return; + if (!current || !arg) return; static XWindowAttributes wa; XGetWindowAttributes(dis, current->win, &wa); -- cgit v1.3.1