Fixed GNU/Linux mouse drag button detection plus logging.