mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Add Auto value to Position
This commit is contained in:
parent
f29b0660fa
commit
54c2170178
2 changed files with 4 additions and 1 deletions
|
@ -107,6 +107,8 @@ position_get_from_str(const char *pos)
|
|||
return Right;
|
||||
else if(!a_strncmp(pos, "left", 4))
|
||||
return Left;
|
||||
else if(!a_strncmp(pos, "auto", 4))
|
||||
return Auto;
|
||||
return Off;
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,8 @@ typedef enum
|
|||
Top,
|
||||
Bottom,
|
||||
Right,
|
||||
Left
|
||||
Left,
|
||||
Auto
|
||||
} Position;
|
||||
|
||||
/** Link a name to a function */
|
||||
|
|
Loading…
Reference in a new issue