From: David G. <dg...@co...> - 2011-10-21 10:34:50
|
Arnout Engelen wrote: [...] > Not sure how to make it more prominent - did you search for it at all? where? All my fault; I was looking at the Documentation section on the website, but originally skipped that link because it said *advanced* configuration; I assumed it was all about writing extensions, which I wasn't doing at the time. [...] > - Can we think of a way to introduce this without breaking the carefully- > constructed winprop configurations of our current users (and all ion3 > users)? Absolutely --- we don't want to break anything. Possibly rather than try to change the defwinprop behaviour, it would be better to do this via new behaviour? Maybe something as simple as: add_winprop_hook( function(prop, cwin, id) -- make all windows float unless specified otherwise if not prop.float then prop.float = true end end ) These then get run (in order) after ioncore.getwinprop() has scanned the defwinprop list. This should satisfy Principle of Least Surprise while at the same time being more flexible. -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ "I have always wished for my computer to be as easy to use as my │ telephone; my wish has come true because I can no longer figure out │ how to use my telephone." --- Bjarne Stroustrup |