[comp.windows.x] icon pixmaps

eric@eddie.MIT.EDU (Eric Van Tassell) (01/30/89)

I have tried and failed to figure out what I'm doing wrong, so I'll humble
myself in front of the whole net. The problem is that when I create
a top level window form the proprietary language I'm interfacing to X via
Xlib and then iconify it I see "joe.icon" where joe.icon is the
icon_name set with XSetStandardProperties. The icon pixmap is also set
and I verified that the icon pixmap id is ok by copying it to the window.
If I write a tiny C program to create and map a window with the same
properties, the return codes from all the Xlib calls are the same and it
works! The only difference between the C program and the calls made from
our language is that our language calls XCheckMaskEvent in response to
a timer interrupt and the C program calls XNextEvent. Can anybody suggest
why I dont get the icon pixmap in the non-c case? Does anybody know
what the return codes from XSetStandardProperties  mean?


	eric@eddie.mit.edu
-- 
Eric Van Tassell(dlcdev!eric@eddie.mit.edu)
Progress Software Corp.
22 Cotton Rd.
Nashua, NH 03063 {603-882-2488}

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (01/30/89)

    Does anybody know
    what the return codes from XSetStandardProperties  mean?

There aren't any return codes.

The only thing I can suggest is that your language wrapper for this
routine is doing something wrong, and that you should use gdb or dbx or
some reasonable debugger to find out what actual icon_pixmap argument
is being passed to XSetStandardProperties.