                                   :draw-fn draw-fn
                                   :renderer renderer
                                   :size size
-                                  :target-frame-rate (atom 60)}
+                                  :target-frame-rate (atom 60)
+                                  :decor decor}
                                  listeners)
         prx-obj           (quil.Applet. applet-state)]
     (doto prx-obj

  "Checks that the size vector is exactly two elements. If not, throws
  an exception, otherwise returns the size vector unmodified."
  [size]
  (cond (= size :fullscreen)
        (do
          ; (japplemenubar.JAppleMenuBar/hide) on os x???
          (display-size))
        (and (coll? size) (= 2 (count size))) size
        :else (throw (IllegalArgumentException.
                      (str "Invalid size definition:" size ". Was expecting :fullscreen or 2 elements vector: [x-size y-size].")))))

  This string can be passed to native Processing methods."
  [renderer]
  (resolve-constant-key renderer renderer-modes))
(defn- hide-menu-bar-if-macos []
  (when (= PApplet/platform PApplet/MACOSX)
    (.. (Class/forName "japplemenubar.JAppleMenuBar")
        (getDeclaredMethod "hide" (into-array Class []))
        (invoke nil (into-array Object [])))))

(defn- display-size
  "Returns size of screen. If there are 2 or more screens it probably return size of
