Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!maverick.ksu.ksu.edu!deimos.cis.ksu.edu!mccall!scott From: scott@mccall.com Newsgroups: comp.windows.x Subject: Creating cursor problem Message-ID: <49.26da59ac@mccall.com> Date: 28 Aug 90 11:46:50 GMT Organization: The McCall Pattern Co., Manhattan, KS, USA Lines: 24 I've got a problem with creating a cursor. I'm wanting to create a 4x4 pixel cursor(please no flames for choice of cursor,as it is relevant to the application I'm working on) with a hotspot at 2,2. And cursor_bits defined as:: static char cursor_bits[] = {0x0f,0x0f,0x0f,0x0f}; I setup a routine that has these calls: XCreatePixmapFromBitmapData XLookupColor XCreatePixmapCursor XDefineCursor The pixmap displayed seems to be 4 high and 16(?) long, with the first 4 pixels set and random pixels set after that. It does seem to change from compliation to compliation. I'm running this on VMS ver5.3 on a DECstation 2000. Any comments and help is greatly appreciated. Thanks. -- Scott Davis The McCall Pattern Company (uucp: ...!rutgers!ksuvax1!mccall!scott) 615 McCall Road (800)255-2762, in Kansas (913)776-4041 Manhattan, KS 66502, USA