Revert "refactor key binding code into a separate file"

This reverts commit 8d5aa3fa9595d9325cb3599a1eaba0e1901a3b84.
handle _NET_ACTIVE_WINDOW root prop. change