Implement mouse down and mouse up for Linux