mirror of
https://github.com/dylanaraps/sowm.git
synced 2025-05-19 09:30:24 -07:00
sowm: clean up
This commit is contained in:
parent
b0a8d244e0
commit
009f1cd017
2
sowm.c
2
sowm.c
@ -76,7 +76,7 @@ static void (*events[LASTEvent])(XEvent *e) = {
|
|||||||
&(unsigned int){0}, &(unsigned int){0})
|
&(unsigned int){0}, &(unsigned int){0})
|
||||||
|
|
||||||
Window win_current() {
|
Window win_current() {
|
||||||
XGetInputFocus(d, &cur, (int[]){1});
|
XGetInputFocus(d, &cur, &(int){1});
|
||||||
return cur;
|
return cur;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user