Instead, just tag the struct so we can reference it.
bool truncated;
};
-struct ssd_state_title {
- char *text;
- struct ssd_state_title_width active;
- struct ssd_state_title_width inactive;
-};
-
struct ssd {
bool enabled;
struct wlr_scene_tree *tree;
struct {
int width;
int height;
- struct ssd_state_title title;
+ struct ssd_state_title {
+ char *text;
+ struct ssd_state_title_width active;
+ struct ssd_state_title_width inactive;
+ } title;
} state;
/* An invisble area around the view which allows resizing */