dwm/patch/focusfollowmouse.c

10 lines
177 B
C
Raw Normal View History

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