diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2022-02-28 17:02:40 -0600 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2022-02-28 17:02:40 -0600 |
| commit | c2336edeb454b871b33c6408543ad9635105045c (patch) | |
| tree | f4568402e89431e42d20b6db9b791d77fb465329 /include | |
| parent | 2d9f28e95a634c0acf495f6376481120844672ca (diff) | |
swaynag: allocate button_details with details
They are used together, so it doesn't make sense to allocate them
separately.
Diffstat (limited to 'include')
| -rw-r--r-- | include/swaynag/swaynag.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/swaynag/swaynag.h b/include/swaynag/swaynag.h index baa6ee8b..2d68b6c9 100644 --- a/include/swaynag/swaynag.h +++ b/include/swaynag/swaynag.h @@ -67,7 +67,7 @@ struct swaynag_details { int offset; int visible_lines; int total_lines; - struct swaynag_button *button_details; + struct swaynag_button button_details; struct swaynag_button button_up; struct swaynag_button button_down; }; |
