From 009f1cd0179e35e672367a14ef1fc11402bbec25 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 17 Oct 2019 21:12:41 +0300 Subject: [PATCH] sowm: clean up --- sowm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sowm.c b/sowm.c index 126aca0..408e44a 100644 --- a/sowm.c +++ b/sowm.c @@ -76,7 +76,7 @@ static void (*events[LASTEvent])(XEvent *e) = { &(unsigned int){0}, &(unsigned int){0}) Window win_current() { - XGetInputFocus(d, &cur, (int[]){1}); + XGetInputFocus(d, &cur, &(int){1}); return cur; }