some changes and test in mouse pressed (drag event not works in linux)

Signed-off-by: walter <info@kalwaltart.it>