[compiz] window matching interface and the new match option

Mike Dransfield mike at blueroot.co.uk
Mon Feb 26 16:43:32 PST 2007

David Reveman wrote:
> If you have
> any window properties that you find useful for matching, please let me
> know and I'll consider adding them. Whether they get added to the core
> or not doesn't matter as you can always put the matching in a plugin. 

Just a couple.  PID and/or process name and window max/min_height/width
would be useful, also maybe paint values.  It could either use
min max, or the match format could be extended to support
 >, < etc

It would also be very useful if the match string could include a
value as well.  This would mean that plugins like blur could
have a list of matches with values and it could apply different
types of blur to different types of windows.  eg.  It could use
4xBilinear for any window which is wider than 500 px like this

min_width=500 =4xBilinear

The core could always parse this as a string and then the plugin
can convert it to the type that it requires.  I think it would be useful
for almost all the plugins that use window matching (fade could have
different fade speeds for different window types).

More information about the compiz mailing list