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; }