stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] define-window-slot plist fix


From: Dirk Sondermann
Subject: Re: [STUMP] define-window-slot plist fix
Date: Thu, 07 Jun 2012 21:57:31 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120513 Thunderbird/10.0.4

On 06/07/12 11:24, Michael Filonenko wrote:
> I found that gethash is used for plist in define-window-slot.
> 
> I change gethash to getf.
> 
> Patch is attached.

Despite its name, window-plist isn't a property list, but it's
initialized as a hash table in xwin-to-window.

So applying the suggested patch causes the get/set functions
created by define-window-slot to fail with an error message like
"The value #<HASH-TABLE :TEST EQL :COUNT 0 {D04F559}> is not of
type LIST".

--
Dirk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]