We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f85c48 + 8c6774d commit 89c3c9eCopy full SHA for 89c3c9e
src/clooj/core.clj
@@ -749,6 +749,14 @@
749
(doall (map #(project/add-project app %) (project/load-project-set)))
750
(let [frame (app :frame)]
751
(utils/persist-window-shape utils/clooj-prefs "main-window" frame)
752
+ (try (let [util (. Class forName "com.apple.eawt.FullScreenUtilities")]
753
+ (. (. util
754
+ getMethod
755
+ "setWindowCanFullScreen"
756
+ (into-array Class [java.awt.Window (. Boolean TYPE)]))
757
+ invoke
758
+ util
759
+ (object-array [frame true]))))
760
(.setVisible frame true)
761
(on-window-activation frame #(project/update-project-tree (app :docs-tree))))
762
(setup-temp-writer app)
0 commit comments