Path: utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!bloom-beacon!eng.sun.COM!smarks From: smarks@eng.sun.COM (Stuart Marks) Newsgroups: comp.windows.x Subject: Re: twm & Sons Message-ID: <9010242353.AA03930@trantor.Eng.Sun.COM> Date: 24 Oct 90 23:53:36 GMT References: <951@sicsun.epfl.ch> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 29 | As most of you probably know, Open Look dictates the use | of push-pins on certain occasions. Using Open Look programs with | a configurable window manager (anything but olwm !) makes it | hard to get rid of windows which expect some kind of signal | (?) through the push-pin. Pulling olwm's pushpin sends a WM_DELETE_WINDOW message to the window. This message is defined by the ICCCM, an X Consortium Standard. It's not OPEN LOOK specific. I've put the following in my .twmrc to enable twm to send the WM_DELETE_WINDOW message. It works fine with XView applications. RightTitleButton "opendot" = f.delete LeftTitleButton "menu12" = f.menu "windowops" menu "windowops" { "Window Menu" f.title "Delete" f.delete # ... } s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Windows & Graphics Software UUCP: sun!smarks Sun Microsystems, Inc.