Start emacs in fullscreen and not maximised
diff --git a/init/init-work.el b/init/init-work.el
index ef59d59..87f6a3a 100644
--- a/init/init-work.el
+++ b/init/init-work.el
@@ -263,9 +263,13 @@
(nlinum-mode -1) ad-do-it (nlinum-mode 1)))
;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,;;
-;; Maximise Emacs
+;; Start Emacs in real fullscreen - no windowed
;;'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''';;
-(add-to-list 'default-frame-alist '(fullscreen . maximized))
+(defun fullscreen ()
+ (interactive)
+ (x-send-client-message nil 0 nil "_NET_WM_STATE" 32
+ '(2 "_NET_WM_STATE_FULLSCREEN" 0)))
+(fullscreen)
;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,;;
;; Mail client