Move doxygen comment before enum item
authorGuillem Jover <guillem@hadrons.org>
Tue, 27 Mar 2012 12:41:44 +0000 (14:41 +0200)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 27 Mar 2012 12:45:17 +0000 (13:45 +0100)
Signed-off-by: Guillem Jover <guillem@hadrons.org>
include/xkbcommon/xkbcommon.h

index 48a0e48..cdf0d7c 100644 (file)
@@ -354,18 +354,18 @@ xkb_state_update_key(struct xkb_state *state, xkb_keycode_t key,
  * locked modifiers.
  */
 enum xkb_state_component {
+    /** A key holding this modifier or group is currently physically
+     *  depressed; also known as 'base'. */
     XKB_STATE_DEPRESSED = (1 << 0),
-        /**< A key holding this modifier or group is currently physically
-         *   depressed; also known as 'base'. */
+    /** Modifier or group is latched, i.e. will be unset after the next
+     *  non-modifier key press. */
     XKB_STATE_LATCHED = (1 << 1),
-        /**< Modifier or group is latched, i.e. will be unset after the next
-         *   non-modifier key press. */
+    /** Modifier or group is locked, i.e. will be unset after the key
+     *  provoking the lock has been pressed again. */
     XKB_STATE_LOCKED = (1 << 2),
-        /**< Modifier or group is locked, i.e. will be unset after the key
-         *   provoking the lock has been pressed again. */
+    /** Combinatination of depressed, latched, and locked. */
     XKB_STATE_EFFECTIVE =
         (XKB_STATE_DEPRESSED | XKB_STATE_LATCHED | XKB_STATE_LOCKED),
-        /**< Combinatination of depressed, latched, and locked. */
 };
 
 /**