dotfiles/.config/suckless/dwm/patch/focusfollowmouse.c
2024-04-23 07:46:41 +05:00

10 lines
177 B
C

Client *
getpointerclient(void)
{
Window dummy, win;
int di;
unsigned int dui;
XQueryPointer(dpy, root, &dummy, &win, &di, &di, &di, &di, &dui);
return wintoclient(win);
}