Ok, this seems to be caused by compiz to block at the s->getCurrentTime (); call inside CompWindow::moveInputFocusTo.
While making getCurrentTime just a getter of current time (saved from the recently parsed events) doesn't solve the issue (as at that point it will get stuck at XSendEvent).
Ok, this seems to be caused by compiz to block at the s->getCurrentTime (); call inside CompWindow: :moveInputFocus To.
While making getCurrentTime just a getter of current time (saved from the recently parsed events) doesn't solve the issue (as at that point it will get stuck at XSendEvent).