From: Michael Stapelberg Date: Mon, 18 Feb 2013 09:41:34 +0000 (+0100) Subject: inline comments for enum values X-Git-Tag: 4.5~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a52b1b4bb0d4241d018b807fd1c7abf38fdd55c5;p=i3%2Fi3 inline comments for enum values --- diff --git a/include/data.h b/include/data.h index 374a70fb..1632efc7 100644 --- a/include/data.h +++ b/include/data.h @@ -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;