Displaying 1 result from an estimated 1 matches for "realoptionname".
2007 Apr 11
2
Patch for ini plugin
...TON
+};
- a->button.button = 0;
- a->button.modifiers = 0;
+enum {
+ ACTION_TYPE_KEY = 0,
+ ACTION_TYPE_BUTTON,
+ ACTION_TYPE_BELL,
+ ACTION_TYPE_EDGE,
+ ACTION_TYPE_EDGEBUTTON,
+ ACTION_TYPES_NUM
+};
- a->bell = FALSE;
+typedef struct _IniAction {
+ char *realOptionName;
+ unsigned int valueMasks;
+ CompAction a;
+} IniAction;
- a->edgeMask = 0;
- a->edgeButton = 0;
-}
static IniFileData *
iniGetFileDataFromFilename (CompDisplay *d,
@@ -471,6 +493,135 @@ iniMakeDirectories (void)
}
static Bool
+findActionType(char *optionName, int *type...