Name the anonymous enum for WMButton behaviors.

This is needed so that bindgen cann refer to the enum properly when generating a corresponding Rust type.
This commit is contained in:
2025-12-15 13:52:37 -05:00
parent b5e94932c9
commit 838beabaef

View File

@@ -132,7 +132,7 @@ typedef enum {
} WMButtonType;
/* button behaviour masks */
enum {
typedef enum {
WBBSpringLoadedMask = (1 << 0),
WBBPushInMask = (1 << 1),
WBBPushChangeMask = (1 << 2),
@@ -140,7 +140,7 @@ enum {
WBBStateLightMask = (1 << 5),
WBBStateChangeMask = (1 << 6),
WBBStatePushMask = (1 << 7)
};
} WMButtonBehaviorMask;
/* frame title positions */