Linux implementation minimize - setcursor