Path: utzoo!attcan!uunet!husc6!bbn!uwmcsd1!ig!agate!web5a.berkeley.edu!shipley From: shipley@web5a.berkeley.edu (Peter Shipley) Newsgroups: comp.windows.x Subject: X Toolkit Question Message-ID: <10039@agate.BERKELEY.EDU> Date: 17 May 88 07:26:32 GMT References: <2479@mandrill.CWRU.Edu> <8805161424.AA16703@LYRE.MIT.EDU> Sender: usenet@agate.BERKELEY.EDU Reply-To: shipley@widow.berkeley.edu (Peter Shipley) Organization: University of California, Berkeley Lines: 32 How does a toolkit program iconify itself? Currently I call the funtion: static void closewin() { XWMHints xwmh; extern Display *disp; extern Widget toplevel; xwmh.flags = StateHint; xwmh.initial_state = IconicState; XSetWMHints(disp, XtWindow(toplevel), &xwmh); XFlush(disp); return; } This seems to have no effect [yes I have a window manger running], is there a toolkit call that will do this for me? Pete Shipley: email: shipley@violet.berkeley.edu Flames: cimarron@zen.berkeley.edu pyramid!hippo!peter or ucbvax!violet!shipley ucbvax!zen!shipley Spelling corections: /dev/null Quote: "Anger is an energy"