Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!snorkelwacker!bloom-beacon!ICS.UCI.EDU!rjohn From: rjohn@ICS.UCI.EDU Newsgroups: comp.windows.x Subject: XA_RESOURCE_MANAGER property loaded/read improperly Message-ID: <9001041228.aa23829@ICS.UCI.EDU> Date: 4 Jan 90 20:27:50 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 20 the XA_RESOURCE_MANAGER property of the root window a should be read / written with respect to the default_screen of the display connection rather than screen 0 all the time. XOpenDis.c: XGetWindowProperty(dpy, RootWindow(dpy, 0), XA_RESOURCE_MANAGER, 0L, 100000000L, False, XA_STRING, &actual_type, &actual_format, &nitems, &leftover, (unsigned char **) &dpy->xdefaults); xrdb.c: XDeleteProperty(dpy, RootWindow(dpy, 0), XA_RESOURCE_MANAGER); XChangeProperty (dpy, RootWindow(dpy, 0), XA_RESOURCE_MANAGER, XA_STRING, 8, PropModeReplace, buffer.buff, buffer.used); DefaultScreen(dpy) should be used instead of 0 in the RootWindow macro!