Moved stroke event handling to x_inputdevices.*pp in preparation for revamp