Chaneg method to check window-system