registering active window's geometry