sowm: clean up

This commit is contained in:
Dylan Araps 2019-10-17 21:12:41 +03:00
parent b0a8d244e0
commit 009f1cd017
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
sowm.c
View File

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