commit 009f1cd0179e35e672367a14ef1fc11402bbec25 parent b0a8d244e0ae726f5b59a032f0edd13fe15b525b Author: Dylan Araps <dylan.araps@gmail.com> Date: Thu, 17 Oct 2019 21:12:41 +0300 sowm: clean up Diffstat:
M | sowm.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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; }