Hi,
I have written the function add_winprops to make the specification of
winprops easier:
function add_winprops(framename,proptable)
-- print("Adding winprops for: "..framename)
for i,v in ipairs(proptable) do
-- print(i..": class: "..v[2]..", instance: "..v[1])
winprop{
class = v[2],
instance = v[1],
target = framename
}
end
end
To start all xdvi instances in the frame latex-dvi, I specify the following:
add_winprops("latex-dvi",{
{"xdvi","XDvi"}})
This works very nice. However, I do not want to display every xdvi
instance in the latex-dvi frame.
I looked at the output from xprop and there was the line:
WM_ICON_NAME(STRING) = "diss"
This property contains the name of the document. Is there a way to
consider this property for the winprop target?
Are there other solutions for this kind of problem?
Stefan.