inline comments for enum values

This commit is contained in:
Michael Stapelberg 2013-02-18 10:41:34 +01:00
parent 49979c9d15
commit a52b1b4bb0
1 changed files with 6 additions and 2 deletions

View File

@ -569,11 +569,15 @@ struct Con {
/** callbacks */
void(*on_remove_child)(Con *);
/** not a scratchpad window, auto centered scratchpad window, or
* user positioned scratchpad window. */
enum {
/* Not a scratchpad window. */
SCRATCHPAD_NONE = 0,
/* Just moved to scratchpad, not resized by the user yet.
* Window will be auto-centered and sized appropriately. */
SCRATCHPAD_FRESH = 1,
/* The user changed position/size of the scratchpad window. */
SCRATCHPAD_CHANGED = 2
} scratchpad_state;