mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
10 lines
177 B
C
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);
|
||
|
}
|