mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
[util] Change Fuzzy type to fuzzy_t
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
bd18eb2018
commit
e272000cc6
3 changed files with 6 additions and 6 deletions
|
@ -133,7 +133,7 @@ char* a_strndup(const char* src, ssize_t l)
|
|||
return _tmpStr;
|
||||
}
|
||||
|
||||
Fuzzy
|
||||
fuzzy_t
|
||||
fuzzy_get_from_str(const char *str)
|
||||
{
|
||||
if(!a_strcmp(str, "true") || !a_strcmp(str, "yes"))
|
||||
|
|
|
@ -38,13 +38,13 @@ typedef enum
|
|||
Auto
|
||||
} position_t;
|
||||
|
||||
/** Fuzzy logic */
|
||||
/** fuzzy_t logic */
|
||||
typedef enum
|
||||
{
|
||||
No = false,
|
||||
Yes = true,
|
||||
Maybe
|
||||
} Fuzzy;
|
||||
} fuzzy_t;
|
||||
|
||||
/** Link a name to a function */
|
||||
typedef struct
|
||||
|
@ -261,7 +261,7 @@ void _warn(int, const char *, const char *, ...)
|
|||
__attribute__ ((format(printf, 3, 4)));
|
||||
|
||||
position_t position_get_from_str(const char *);
|
||||
Fuzzy fuzzy_get_from_str(const char *);
|
||||
fuzzy_t fuzzy_get_from_str(const char *);
|
||||
double compute_new_value_from_arg(const char *, double);
|
||||
void *name_func_lookup(const char *, const name_func_link_t *);
|
||||
|
||||
|
|
|
@ -69,8 +69,8 @@ struct rule_t
|
|||
char *icon;
|
||||
char *xprop;
|
||||
int screen;
|
||||
Fuzzy isfloating;
|
||||
Fuzzy ismaster;
|
||||
fuzzy_t isfloating;
|
||||
fuzzy_t ismaster;
|
||||
titlebar_t titlebar;
|
||||
double opacity;
|
||||
regex_t *prop_r;
|
||||
|
|
Loading…
Reference in a new issue