 (defn- display-size
   "Returns size of screen. If there are 2 or more screens it probably return size of
   default one whatever it means."
+  ([]
+   (let [bounds (.. (java.awt.GraphicsEnvironment/getLocalGraphicsEnvironment)
+                    getDefaultScreenDevice
+                    getDefaultConfiguration
+                    getBounds)]
+     [(.-width bounds) (.-height bounds)]))
+
   ([display]
    (if-let [bounds (some->
                     (get (.getScreenDevices (GraphicsEnvironment/getLocalGraphicsEnvironment)) display)

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

  (PApplet/runSketch
   (into-array String
               (vec (filter string?
                            [(when (:display (meta applet))
                               (str "--display=" (:display (meta applet))))
                             (when (and (:bgcolor (meta applet))
                                        (:present (meta applet)))
                               (str "--bgcolor" "=" (str (:bgcolor (meta applet)))))
