[clfswm-devel] Type Error in CLFSWM::ADAPT-CHILD-TO-RECT

Desmond O. Chang dochang at gmail.com
Fri Jan 20 09:02:53 UTC 2012


Philippe Brochard <pbrochard at common-lisp.net> writes:

> Philippe Brochard writes:
>
>> Desmond O. Chang writes:
>>
>>> Hi all,
>>>
>> Hi,
>>
>>> Did anyone get an error like "-63634 isn't a CARD16." when using
>>> clfswm with clisp/new-clx?
>>>
>> Yes I got this error with clisp/new-clx. But not with clisp/mit-clx or
>> portable-clx.
>> The problem comes from the layout manager which set a negative width.
>> Have you seen which layout causes the trouble? And which application?
>>
>> I've written a wrapper to all xlib:drawable-* functions to prevent this
>> and report errors. It's in the fix-type-error branch in the
>> common-lisp.net git repository: git://common-lisp.net/projects/clfswm/clfswm.git
>>
>> I don't think it's a good solution, a better one will be to see which
>> layout cause this trouble and with which application. But I'll merge it
>> in the master branch if we find nothing better.
>>
> I've replaced the copy/paste with a macrology and merge it in the master
> branch. I've removed the fix-type-error branch. Feel free to log clfswm
> output and report any suspect behaviour.

It works.  Thank you.




More information about the clfswm-devel mailing list