Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!ames!apple!sun-barr!newstop!sun!quintus!pds From: pds@quintus.UUCP (Peter Schachte) Newsgroups: comp.windows.x Subject: Problem with CvtStringToCursor? Message-ID: <1226@quintus.UUCP> Date: 28 Jul 89 00:13:01 GMT Reply-To: pds@quintus.UUCP (Peter Schachte) Organization: Quintus Computer Systems, Inc. Lines: 20 I was just poking around in Converters.c, and saw in the code for CvtStringToCursor() a static table of triples which serves to cache the Cursor corresponding to a cursor name: static struct _CursorName { char *name; unsigned int shape; Cursor cursor; } cursor_names[] = { {"X_cursor", XC_X_cursor, NULL}, {"arrow", XC_arrow, NULL}, ... Won't this go badly wrong if your application is using multiple displays? -- -Peter Schachte pds@quintus.uucp ...!sun!quintus!pds