On Sat, 30 Jul 2011 04:48:35 -0400
Matthew Mondor <mm_li...@pulsar-zone.net> wrote:

> I however honestly never tried using CLX before and it was still on my
> totry list; but I did a quick test today and am getting a type of
> resource error (id-choice-error resource-error), at create-window.

Actually, I was mistaken, the error occurs at xlib:display-finish-output calls.

Exemple:

;;; Interactive test
(defparameter *display* (xlib:open-display ""))
(defparameter *screen* (first (xlib:display-roots *display*)))
(defparameter *root-window* (xlib:screen-root *screen*))
(defparameter *window* (xlib:create-window
                        :parent *root-window*
                        :x 64
                        :y 64
                        :width 320
                        :height 220
                        :border (xlib:screen-white-pixel *screen*)
                        :background (xlib:screen-black-pixel *screen*)))
(xlib:map-window *window*)

;;; XXX Errors here XXX
(xlib:display-finish-output *display*)
; Condition of type: ID-CHOICE-ERROR
; Asynchronous ID-CHOICE-ERROR in request 11 (last request was 13)  Code 1.0 \
;  [CreateWindow] ID #x1

(xlib:unmap-window *window*)
(xlib:destroy-window *window*)
(xlib:close-display *display*)

Thanks,
-- 
Matt

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to