Ubuntu Mouse Lost Focus

add GDK_CORE_DEVICE_EVENTS=1 to /etc/X11/Xsession.d/56xubuntu-session
cadot.eu