unify event model
Merge branch 'master' of https://github.com/tomilay/xlib