Comment 12 for bug 695570

Revision history for this message
James Pharaoh (jamespharaoh) wrote :

Ok, I've bitten the bullet and implemented the missing behaviour. It requires a slightly different approach because we only want to raise on a click, not on a drag.

As I explained before, this behaviour is seen in other window managers, notably metacity, which compiz is supposed to be a drop in replacement for. In my previous comment I justified this raise behaviour with raise-on-click disabled. Basically the point is that this is a specific command to raise the window rather than a click intended for the application.

The patch is attached. I have a feeling it might need some modifications, possibly its behaviour could be disabled if raise-on-click is enabled. I am not sure that would make much difference practically.

I am really keen to get this in. It is absolutely a regression from the behaviour of metacity and this can be easily tested. Let me know if you need any more information, or if I need to create a new bug report or anything.