Displaying 1 result from an estimated 1 matches for "optionsproc".
Did you mean:
optionproc
2007 Mar 29
7
re-work option initialization
...anyone from doing this if they wish to.
Here's our current idea for how we can solve these issues:
Add
typedef Bool (*InitPlugin(Display|Screen)OptionProc) (CompOption *o,
int index);
or
typedef Bool (*InitPlugin(Display|Screen)OptionsProc) (CompOption **o);
and the number of display and screen options to the plugin vTable. I
prefer the function prototype with the index as it's a bit more
flexible.
We can add a set of option initialization macros to compiz.h or helper
functions to a library, which will make the initPluginOption...