[STUMP] define-window-slot plist fix

1 view
Skip to first unread message

Michael Filonenko

unread,
Jun 7, 2012, 5:24:53 AM6/7/12
to stumpw...@nongnu.org
I found that gethash is used for plist in define-window-slot.

I change gethash to getf.

Patch is attached.

--
With best regards, Michael Filonenko
0001-fix-define-window-slot.patch

Dirk Sondermann

unread,
Jun 7, 2012, 3:57:31 PM6/7/12
to stumpw...@nongnu.org
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

_______________________________________________
Stumpwm-devel mailing list
Stumpw...@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Michael Filonenko

unread,
Jun 8, 2012, 5:51:09 PM6/8/12
to stumpw...@nongnu.org
Sorry, may be I have fork of clx. So, ignore my request.

2012/6/7 Michael Filonenko <filonenk...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages