Displaying 2 results from an estimated 2 matches for "csvtolist".
Did you mean:
csvlist
2007 Apr 13
3
Just another ini patch
Hi,
well after some ever further investigation of some bugs, I ended up
cleaning up the code, again. I also fixed some really heavy memory
leaks in csvToList and made it in general more stable.
Regards,
Patrick "Marex" Niklaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ini.c.patch
Type: text/x-patch
Size: 8275 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/2007...
2007 Apr 11
2
Patch for ini plugin
...tringToButtonBinding (d, optionValue, &action->a.button))
+ action->a.type |= CompBindingTypeButton;
+ break;
+
+ case ACTION_TYPE_BELL:
+ action->a.bell = (Bool) atoi(optionValue);
+ break;
+
+ case ACTION_TYPE_EDGE:
+ if (optionValue[0] != '\0' &&
+ csvToList (optionValue, &edges, CompOptionTypeString))
+ {
+ for (i = 0; i < edges.nValue; i++) {
+ for (j = 0; j < SCREEN_EDGE_NUM; j++) {
+ if (strcasecmp (edges.value[i].s, edgeToString(j)) == 0)
+ {
+ action->a.edgeMask |= (1 << j);
+
+ // found corresponding...