External pixmaps and window suppression

34 views
Skip to first unread message

Michael Baker

unread,
May 23, 2012, 5:44:40 PM5/23/12
to dislin-users
Hi,

How do I keep the DISLIN window from popping up when outputting to an
external pixmap? My understanding of the X11MOD() description is that
having CMOD = 'pixmap' should automatically do so, but the dislin
window still opens.

C++ Code Snippet:
//========
Dislin g;

g.metafl("xwin");
g.x11mod("pixmap");

g.setxid(pixmap_id, "pixmap");

g.disini();
g.winmod("nohold");
g.errmod("protocol", "off");

// ... Plot goes here

g.disfin();
//========

Thanks,
Michael

Helmut Michels

unread,
May 24, 2012, 3:35:09 AM5/24/12
to dislin-users
Hi Michael,
this is a bug. It seems that setxid affects the behavior of x11mod. A
simple
workaround is to call setxid before x11mod.

Best regards,

Helmut

Michael Baker

unread,
May 24, 2012, 8:54:48 AM5/24/12
to dislin-users
That did it. Thank you.
Reply all
Reply to author
Forward
0 new messages