Path: utzoo!attcan!uunet!mcsun!ukc!harrier.ukc.ac.uk!rlh2 From: rlh2@ukc.ac.uk (Richard Hesketh) Newsgroups: comp.windows.x Subject: Re: tvtwm -- printing window problem with tvtwm Keywords: tvtwm,xwd,X,print Message-ID: <5610@harrier.ukc.ac.uk> Date: 4 Oct 90 13:38:38 GMT References: <1990Oct3.135738.17668@cbnewsj.att.com> Reply-To: rlh2@ukc.ac.uk (Richard Hesketh) Organization: Computing Lab, University of Kent at Canterbury, UK. Lines: 23 In article <1990Oct3.135738.17668@cbnewsj.att.com> dy@cbnewsj.att.com (david.k.yip) writes: > xwd -frame | xpr -landscape -compact -device ps | prt -l raw >Now that I have switched over using tvtwm, the output of print_window no >longer work correctly. When I select a window to be printed, the output used >to be a snap shot of the selected window. But when using tvtwm, I get a snap >shot of the whole screen. If the virtaul desktop option is NOT used, than >everything works fine. Has anyone noticed this problem using xwd, running >tvtwm + virtaul desktop, to print a window?? xwd looks for windows that are children of the server's root window. tvtwm creates its own virtual root window. xwd will have to be modified to look for windows that are children of this virtual root window. Any example of this is given with the tvtwm source. The window id. of the virtual root window is given in a Property set on the server's root window. -- Richard Hesketh : @nsfnet-relay.ac.uk:rlh2@ukc.ac.uk : rlh2@ukc.ac.uk ..!{mcsun|mcvax}!ukc!rlh2 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