Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!ucbvax!hplabs!hpfcso!hpfcda!garfinke From: garfinke@hpfcda.HP.COM (Dan Garfinkel) Newsgroups: comp.windows.x Subject: Extension using AllocateGCPrivate Message-ID: <1250001@hpfcdan.HP.COM> Date: 30 Jan 90 19:58:25 GMT Organization: Hewlett-Packard, Fort Collins, CO Lines: 21 This note is for the server implementers and extension writers. All others may ignore it. First off, thank you for creating the devPrivates field for screens, windows, and gcs. It makes the job of extension writers much easier. However, I also need this field for Pixmaps (all drawables) and fonts. Would you consider adding this for R5? Now for a bug report: I'm trying to write a complex extension and have run into problems using AllocateGCPrivate. The problem is that the extension initialization routines are called after InitOutput and InitOutput creates GCs. When I try to access my devPrivate for the GCs created by InitOutput, the field isn't there and bad things happen. The creating of the GCs should happen after initializing the extensions, just like the creating of the root windows, right? Is there a workaround for this problem? -Dan Garfinkel (garfinke@hpfcda.hp.com)