~kris/suckless

dwm

ref: 84e42e3f9c46592fbb5f9c376caa5ea082788ebf dwm/patch/focusfollowmouse.c -rw-r--r-- 177 bytes
84e42e3f — Kris Yotam Restore Mod+s/Print snip and record bindings 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);
}