temporary fix for xmonad not recognizing emacs window