summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2017-02-27 17:14:55 -0800
committerFranck Cuny <franck.cuny@gmail.com>2017-02-27 17:14:55 -0800
commit74d3ca96193dea1a933aeb68d54e1d188b7147fe (patch)
treef0672f9e996af8448a67d23f56d7d11b07f22848
parent[Emacs] Enable global highlight and fix font. (diff)
downloademacs.d-74d3ca96193dea1a933aeb68d54e1d188b7147fe.tar.gz
[Emacs] Don't use native fullscreen for OSX.
-rw-r--r--emacs.d/lib/settings.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/lib/settings.el b/emacs.d/lib/settings.el
index bfec7f7..e3c8a2f 100644
--- a/emacs.d/lib/settings.el
+++ b/emacs.d/lib/settings.el
@@ -94,4 +94,8 @@
 (setq visible-bell nil)
 (setq ring-bell-function 'ignore)
 
+;; don't use native full screen on OS-X
+(when (eq system-type 'darwin)
+  (setq ns-use-native-fullscreen nil))
+
 (provide 'settings)