discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transparent Windows, WindowMaker and [NSWindow backgroundColor]


From: Fred Kiefer
Subject: Re: Transparent Windows, WindowMaker and [NSWindow backgroundColor]
Date: Thu, 02 Jun 2011 21:31:29 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

On 02.06.2011 20:55, David Chisnall wrote:
On 2 Jun 2011, at 19:44, Austin Clow wrote:

Are transparent windows supported in WindowMaker?

Wrong question.  WindowMaker is a window manager, it has nothing to do with 
whether transparent windows work, it just controls their positioning and their 
decorations.

Transparent windows are supported in X11 by a combination of the composite and 
render extensions.  Applications draw RGBA windows, which are directed off 
screen.  A compositing manager then draws them onto the display.  GNUstep will 
draw RGBA windows (with the Cairo back end definitely, I think with libart, and 
I think not with xlib), but for these to be transparent / translucent you must 
be running a compositing manager.  X.org comes with a simple compositing 
manager, xcompmgr, which should work (it can also draw shadows, but little 
else).  Alternatively, you can run a more complex one, like Compiz, which adds 
other effects.

You may have to set the alpha value of the window as well. But I haven't tested that feature recently. When we added support to RGBA windows in the cairo backend this was needed.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]