+ case PropertyNotify:
+
+ if (event.x_event.xproperty.state == PropertyNewValue &&
+ event.x_event.xproperty.atom == XA_NET_WM_USER_TIME)
+ {
+ /* Let's just assume that they only ever set USER_TIME to the
+ current time, and don't do something stupid like repeatedly
+ setting it to 20 minutes ago. */
+
+ why = "WM_USER_TIME";
+
+ if (p->debug_p)
+ {
+ Window w = event.x_event.xproperty.window;
+ XWindowAttributes xgwa;
+ int i;
+ XGetWindowAttributes (si->dpy, w, &xgwa);
+ for (i = 0; i < si->nscreens; i++)
+ if (xgwa.root == RootWindowOfScreen (si->screens[i].screen))
+ break;
+ fprintf (stderr,"%s: %d: %s on 0x%lx\n",
+ blurb(), i, why, (unsigned long) w);
+ }
+
+ if (until_idle_p)
+ reset_timers (si);
+ else
+ goto DONE;
+ }
+ break;
+