* Anyone who performs further investigation of the xlib API likely risks
* permanent brain damage. */
uint8_t *pix = image->data;
- Window w;
+ Window root;
XSetWindowAttributes attr;
/* Code doesn't currently support 16-bit or PAL8 */
if (!s->c)
s->c = XCreateFontCursor(dpy, XC_left_ptr);
- w = DefaultRootWindow(dpy);
+ root = DefaultRootWindow(dpy);
attr.cursor = s->c;
- XChangeWindowAttributes(dpy, w, CWCursor, &attr);
+ XChangeWindowAttributes(dpy, root, CWCursor, &attr);
xcim = XFixesGetCursorImage(dpy);
if (!xcim) {