dwm/patch/focusfollowmouse.c
2023-06-27 16:07:57 +02: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);
}