Fix focus stealing for changing desktops/Use timestamp for user input events