Our cat Charlie used to do that. He'd be sitting on the window sill and fall asleep and then fall off the sill. First time it happened Mom throught he had dropped dead. We got used to it and knew what to watch for and we'd pick him up before he fell.
Live as if you were to die tomorrow. Learn as if you were to live forever. ~ Mahatma Gandhi