File tree 2 files changed +1
-11
lines changed
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 816
816
(doall (map #(project/add-project app %) (project/load-project-set )))
817
817
(let [frame (app :frame )]
818
818
(utils/persist-window-shape utils/clooj-prefs " main-window" frame)
819
- (utils/enable-mac-fullscreen frame)
820
819
(.setVisible frame true )
821
820
(on-window-activation frame #(project/update-project-tree (app :docs-tree ))))
822
821
(setup-temp-writer app)
Original file line number Diff line number Diff line change 111
111
; ; identify OS
112
112
113
113
(defn get-os []
114
- (string/lower-case (.getProperty System " os.name" )))
114
+ (string/lower-case (System/getProperty " os.name" )))
115
115
116
116
(def is-win
117
117
(memoize #(not (neg? (.indexOf (get-os ) " win" )))))
558
558
java.net.URL.
559
559
slurp)
560
560
(catch Exception _ nil )))
561
-
562
- ; ; OS-specific utils
563
-
564
- (defmacro enable-mac-fullscreen
565
- " Shows the Mac full-screen double arrow, as introduced in
566
- OS X Lion, if possible."
567
- [window]
568
- (when (is-mac )
569
- `(com.apple.eawt.FullScreenUtilities/setWindowCanFullScreen ~window true )))
You can’t perform that action at this time.
0 commit comments