PDA

View Full Version : Per Window Control


inktomi
May 25th, 2007, 06:28 PM
I don't know if this has been suggested before or how much work it involves to implement.

The idea is that applications can message compiz (with the window ID?) a particular effect (zoom in, fade) related to a particular attribute (window creation/destruction, etc) before the window created. This allows the programmer control over how his application displays its user interface. For example, an application may ask compiz to create a window with a fade in effect, and later it may then request a zoom in effect for another window (Requests are per window not per application). Once the request is serviced, compiz clears the message from its list. If the application does not message compiz default settings are assumed.

The reason behind this mechanism is that some extravagant effects may be siutable for general use, but the use of these effects may hinder usability in some applications.

If the user finds this behavior intrusive, he may instruct compiz to ignore these custom requests.

Looking forward for your ideas and feedback.

RYX
May 25th, 2007, 11:59 PM
Hi inktomi!

I think that is a very useful idea and could be a nice addition for the animation plugin. The blur-plugin already allows to define special window attributes which cause compiz to blur areas of windows - the animation plugin could maybe do it the same way (only a guess).

:)