Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!mit-eddie!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!harrier.ukc.ac.uk!beech.ukc.ac.uk!rlh2 From: rlh2@ukc.ac.uk (R.L.Hesketh) Newsgroups: comp.windows.x Subject: Re: xwd and xwud problem/feature Message-ID: <168@beech.ukc.ac.uk> Date: 11 Jan 91 22:46:49 GMT References: <14096.9101101526@fireball.gmsws.co.uk> Reply-To: rlh2@ukc.ac.uk (Richard Hesketh) Organization: Computing Lab, University of Kent at Canterbury, UK. Lines: 30 In article <14096.9101101526@fireball.gmsws.co.uk> john@gec-marconi-software-systems.co.UK (John Farley) writes: >I have a small problem with the xwd and xwud clients. >Now when I do a 'xwud -in test1.wd' the window dump of the xterm is >displayed but the menu I had activated is not shown, but any other window >overlapping the window I dumped is shown. >Now is this a problem with my use of xwd? Is it a bug with xwd or xuwd? >Is this the way xwd is ment to work? Yes, because it just does an XGetImage() of the window and outputs whatever the server returns. Sounds like you have a problem with `SaveUnders' on the popup. Xterm uses the Athena SimpleMenu widget which is a subclass of the OverrideShell which sets "saveUnder" to be true. Try executing the xterm with the following ... xterm -xrm "*saveUnder: false" ... and now try dumping it. A better solution to dumping overlapping windows and bits of windows is to use the "xgrabsc" utility that was published in comp.sources.x last year. If you can't get it from the info-server in London or via ftp on expo then I can mail you the source. Richard Hesketh Computing Officer, Computing Lab., University of Kent at Canterbury, Canterbury, Kent, CT2 7NF, United Kingdom. Tel: +44 227 764000 ext 7620/7590 Fax: +44 227 762811