I tried to write scripts for aumtomatic creating and destroying
of workspaces for some apps (such as xmms). And I found following
problem:

myh = ioncore.gethook('clientwin_unmapped_hook')
myh:add (function (WinId)
    mod_query.message(
        ioncore.lookup_region('top'), -- my top frame
        'Win Id: ' .. WinId
    )
end)

When I close window I get message:
Win Id: -1.998324540964

I think that number should match the value of xid() method of WClientWin.
Probably there is only bad 'prototype' and there is returned 'double'
insted of 'long' or whatever it should be.

I use nearly latest ion3 (debian unstable package):
$ ion --version
ion: Encoding in LC_CTYPE (cs_CZ) and encoding reported by
nl_langinfo(CODESET) (ISO-8859-2) do not match. 
ion: Reverting locale settings to "C".
3ds-20050102

-- 
                                 Tomas 'ebi' Ebenlendr
                                 http://get.to/ebik
                                 PF 2005.03187148021

Reply via email to