Comment out unused fields in xkb_controls Until (if) we implement/use them the should take up any (mental) space. Signed-off-by: Ran Benita <ran234@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
diff --git a/src/xkb-priv.h b/src/xkb-priv.h
index a8b2748..237d43d 100644
--- a/src/xkb-priv.h
+++ b/src/xkb-priv.h
@@ -332,22 +332,22 @@ struct xkb_names {
};
struct xkb_controls {
- unsigned char num_groups;
- unsigned char groups_wrap;
- struct xkb_mods internal;
- struct xkb_mods ignore_lock;
- unsigned int enabled_ctrls;
- unsigned short repeat_delay;
- unsigned short repeat_interval;
- unsigned short slow_keys_delay;
- unsigned short debounce_delay;
- unsigned short ax_options;
- unsigned short ax_timeout;
- unsigned short axt_opts_mask;
- unsigned short axt_opts_values;
- unsigned int axt_ctrls_mask;
- unsigned int axt_ctrls_values;
- unsigned char *per_key_repeat;
+ unsigned char num_groups;
+ /* unsigned char groups_wrap; */
+ /* struct xkb_mods internal; */
+ /* struct xkb_mods ignore_lock; */
+ unsigned int enabled_ctrls;
+ /* unsigned short repeat_delay; */
+ /* unsigned short repeat_interval; */
+ /* unsigned short slow_keys_delay; */
+ /* unsigned short debounce_delay; */
+ /* unsigned short ax_options; */
+ /* unsigned short ax_timeout; */
+ /* unsigned short axt_opts_mask; */
+ /* unsigned short axt_opts_values; */
+ /* unsigned int axt_ctrls_mask; */
+ /* unsigned int axt_ctrls_values; */
+ unsigned char *per_key_repeat;
};
/* Common keyboard description structure */