On 2005-12-08, David Roundy <[EMAIL PROTECTED]> wrote:
> These functions have one extra-hokey aspect, which is that they are
> hardcoded to ignore windows with "xclock" in their name. This really ought
> to be configurable, but I'm lazy and don't know any lua to speak of. And I
> use xclocks.
The proper way would be to add an extra property to the winprop table
for the window. That way you also get all the class/instance/role
matching in addition to the title. For example:
defwinprop{
class = "XClock",
instance = "xclock",
windowcycle_skip = true
}
local function should_be_skipped(cwin)
local p=ioncore.getwinprop(cwin)
return (p and p.windowcycle_skip)
end
--
Tuomo