* Arnaud Legrand <[EMAIL PROTECTED]> [2006-11-09 13:04:15+0100]
> I've just moved from ion 3ds-20060524 to ion 3ds-20061029 and there is
> just one little thing I can't make work right: toggling fullscreen
> mode.
>
> Here is what I have in my cfg_bindings.lua:
>
> bdoc("Toggle fullscreen mode of current client window."),
> kpress_wait(META.."Return",
> "WClientWin.set_fullscreen(_sub, 'toggle')",
> "_sub:WClientWin")
>
> Nothing happens when I use this binding. However here is what I get
> when I run the corresponding lua code:
>
> Error:
> >> Type checking failed in level 2 call handler for parameter0 (got
> WGroupCW, expected WClientWin)
> >> Stack trace:
> 0 [C]: in 'set_fullscreen'
> 1 [string "WClientWin.set_fullscreen(_sub,'toggle'):1
> [Skipping unnamed C functions.]
> 3 [C]: in 'collect_errors'
> 4 mod_quiery.lua:941
> 5 (tail call): in ''
> 6 mod_query.lua:56
> [Skipping unnamed C functions.]
>
> Have you ever experimented this issue? Do you have an idea of what's
> wrong and how to solve it? Thanks in advance for your help.
Read carefully changelog (or this mailing-list). This issue has been
documented. Now the right solution looks like
defbindings("WGroupCW", {
bdoc("Toggle client window group full-screen mode"),
kpress_wait(META.."Return",
"WClientWin.set_fullscreen(_:bottom(), 'toggle')"),
})
--
Roman I. Cheplyaka