[PATCH] Xi: check all handlers before applying property changes.

Simon Thum simon.thum at gmx.de
Sun Oct 12 09:17:20 PDT 2008


Peter Hutterer wrote:
> The patch I proposed does not make any guarantee over when a handler is
> called. This automatically separates handlers so they cannot interfere with
> each other, and dependency ordering is a nonissue, as you cannot rely on it to
> begin with. Code that relies on other handlers should not end up in the
> repository. 
Ok, if handlers can be kept independent, your solution is absolutely
fine. Its also desirable to keep them independent.

I'm just not sure this is the whole story. When we look at the axis
inversion example, this is rather insufficient. And it provokes
workarounds, such as those you described.

I think the choice depends on how often conflicts occur and how hard it
gets to deal with them. Unfortunately, I can't find my crystal sphere ;)


Cheers,

Simon



More information about the xorg mailing list