(when window-system ;; make switching frames works properly under the default click-to-focus (setq focus-follows-mouse nil))