set window size, set pointer pos, show/hide pointer