disable to resize a window size