13494N/A+/* display a busy cursor in window if it exist and on
13494N/A+ * the root window. This is done in plain X and opening a new
13494N/A+ * connection each time to avoid keeping the default cursor size
13494N/A+ * as it is modified by gnome-daemon-settings while gnome-session is running
13494N/A+ * (hence the user set cursor size would be lost if only one connection
13494N/A+set_busy_cursor (GdkWindow *window, gboolean enable)
13494N/A+ cur = XCreateFontCursor (dpy, GDK_WATCH);
13494N/A+ cur = XCreateFontCursor (dpy, GDK_LEFT_PTR);
13494N/A+ XDefineCursor (dpy, RootWindow (dpy, i), cur);
13494N/A+ XDefineCursor (dpy, GDK_WINDOW_XID (window), cur);
13855N/A set_session_running_handler ();
13855N/A+ set_busy_cursor (NULL, FALSE);