Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!xylogics!merk!alliant!linus!linus!pop From: pop@linus.mitre.org (Paul Perry) Newsgroups: comp.windows.x Subject: Problem with overlay planes Message-ID: <115245@linus.mitre.org> Date: 30 Jul 90 19:31:47 GMT Reply-To: pop@linus.mitre.org (Paul Perry) Organization: The MITRE Corporation, Bedford MA Lines: 31 I'm working with the O'Reilly example of overlay planes (Vol.1 p.190) and I'm running into an unexpected problem. When I try to XStoreColors I get the following error: X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 89 (X_StoreColors) Minor opcode of failed request: 0 Resource id in failed request: 0x180 Serial number of failed request: 17 Current serial number in output stream: 17 in the following call : /* this sets the color of the read/write cell */ XStoreColors (display, cmap, exact_defs, ncolors); Which is performed after opening the display and before creating the window. I looked for an explanation of when this would occur but I haven't found it yet. I'm working on a Sun 4/330, SunOS 4.0.3, and X11R4. Anyone know why ? Thanks, Paul. Paul O. Perry MITRE Corporation Phone: (617) 271-5641 Burlington Road ARPA: pop@mitre.org Bedford, MA 01730 -- Paul O. Perry MITRE Corporation Phone: (617) 271-5641 Burlington Road ARPA: pop@mitre.org Bedford, MA 01730