Adding focusfollowmouse patch ref. #364

This commit is contained in:
bakkeby
2023-06-27 16:07:13 +02:00
parent 1a1ce47917
commit 99f6f1b52c
17 changed files with 55 additions and 23 deletions

9
patch/focusfollowmouse.c Normal file
View File

@@ -0,0 +1,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);
}