emacs: Function to toggle native/non-native fullscreen on OS X
This commit is contained in:
parent
459f0433e6
commit
580f642d40
1 changed files with 5 additions and 0 deletions
|
@ -147,6 +147,11 @@ comment as a filename."
|
||||||
;; Don't use Apple's native fullscreen (FIXME: Change with Mavericks)
|
;; Don't use Apple's native fullscreen (FIXME: Change with Mavericks)
|
||||||
(setq ns-use-native-fullscreen nil)
|
(setq ns-use-native-fullscreen nil)
|
||||||
|
|
||||||
|
(defun toggle-native-fullscreen ()
|
||||||
|
"Toggles between native and non-native OS X fullscreen"
|
||||||
|
(interactive)
|
||||||
|
(setq ns-use-native-fullscreen (not ns-use-native-fullscreen)))
|
||||||
|
|
||||||
;; ## Navigation and key bindings ##
|
;; ## Navigation and key bindings ##
|
||||||
|
|
||||||
;; Navigate windows with M-<arrows>
|
;; Navigate windows with M-<arrows>
|
||||||
|
|
Loading…
Reference in a new issue