*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
- if (!XGetWindowProperty (dpy, kids[i], XA_SCREENSAVER_ID, 0, 512,
+ if (XGetWindowProperty (dpy, kids[i], XA_SCREENSAVER_ID, 0, 512,
False, XA_STRING, &type, &format, &nitems,
&bytesafter, &id)
False, XA_STRING, &type, &format, &nitems,
&bytesafter, &id)
int x, y;
unsigned int mask;
XQueryPointer (si->dpy, ssi->screensaver_window, &root, &child,
int x, y;
unsigned int mask;
XQueryPointer (si->dpy, ssi->screensaver_window, &root, &child,
- &ssi->poll_mouse_last_root_x,
- &ssi->poll_mouse_last_root_y,
+ &ssi->last_poll_mouse.root_x,
+ &ssi->last_poll_mouse.root_y,