~kris/suckless

dwm

ref: 9780b2f6361a848a23779f2340c94bc8f0344159 dwm/patch/focusfollowmouse.c -rw-r--r-- 177 bytes
9780b2f6 — Kris Yotam wip: emergency backup (power outage risk) 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
Client *
getpointerclient(void)
{
	Window dummy, win;
	int di;
	unsigned int dui;
	XQueryPointer(dpy, root, &dummy, &win, &di, &di, &di, &di, &dui);
	return wintoclient(win);
}