Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm a Java programmer who's rather new to Linux. I'm on Suse / Gnome and I need to create a window which:

  • Is visually translucent/transparent. This is the usual alpha blending that composes a foreground image with a background image, while allowing the background image to be visible "through" the foreground image.
  • Is transparent to mouse events, in other words the window accepts no mouse events and all such event are passed through to whatever lies underneath.

I successfully got the visual transparency but not the mouse event transparency. When I test the environment translucency capabilies with Java I got that:

 - TRANSLUCENT = false
 - PERPIXEL_TRANSPARENT = true
 - PERPIXEL_TRANSLUCENT = true

The compositing is activated. I changed compositing type from OpenGL to XRender and vice versa. But it didn't change anything. Do I have to change of Window Manager or activate some options?

share|improve this question
    
Did you ever find the solution? –  rolf Apr 7 at 22:52
add comment

1 Answer

Transparency to mouse events you will have to program as window behavior. Visualy transparent is something the windowing system you select provide.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.