(In reply to comment #5)
> (In reply to comment #4)
> > Ok, it most likely _is_ FocusIn / FocusOut and also most likely is grab
> > related.
>
> Nice analysis. Thanks! How did you do it?
I added debug output to the FocusIn / FocusOut event handlers of Compiz. As it selects for FocusChange events on all toplevel windows anyway, all events are printed.
(In reply to comment #5)
> (In reply to comment #4)
> > Ok, it most likely _is_ FocusIn / FocusOut and also most likely is grab
> > related.
>
> Nice analysis. Thanks! How did you do it?
I added debug output to the FocusIn / FocusOut event handlers of Compiz. As it selects for FocusChange events on all toplevel windows anyway, all events are printed.