Path: utzoo!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!tcdcs!bofin!cjmchale From: cjmchale@cs.tcd.ie (Ciaran McHale) Newsgroups: comp.windows.x Subject: Re: Transparent windows Message-ID: <1991Mar9.150827.23914@cs.tcd.ie> Date: 9 Mar 91 15:08:27 GMT References: <1991Mar8.130813.10424@vaxa.strath.ac.uk> Organization: DSG, Dept. of Comp. Sci., Trinity College, Dublin. Lines: 26 In <1991Mar8.130813.10424@vaxa.strath.ac.uk> cadp16@vaxa.strath.ac.uk writes: >How would I go about creating a transparent window in X. > >It has to be the full size of the screen, or rather the same size as the root >window, with no border... It depends what you mean by transparent. You might mean an InputOnly window which you cannot draw to, does not obscure what lies underneath but can receive input (button and key presses etc). On the other hand you might be thinking of a window which "shows through" what's underneath but you can also draw into. If this is the case then you can either make use of the Shape extension or use an InputOutput window with a background of None. In the latter case, the initial contents of the window are whatever lays underneath but the window's contents *won't* be updated if to reflect updates to windows underneath. Ciaran. -- Ciaran McHale "Verbosity says it all" ____ Department of Computer Science, Trinity College, Dublin 2, Ireland. \ / Telephone: +353-1-772941 ext 1538 FAX: +353-1-772204 \/ Telex: 93782 TCD EI email: cjmchale@cs.tcd.ie