diff options
author | Nihal Jere <nihal@nihaljere.xyz> | 2022-02-28 17:02:40 -0600 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-03-15 11:40:32 +0100 |
commit | 0babfce4b5f8ab22c4395766e8b7af4ad076503b (patch) | |
tree | f4568402e89431e42d20b6db9b791d77fb465329 /include/swaynag | |
parent | f167acce3a11f342df5fef21679ae4eb8624ae15 (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/swaynag')
-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; }; |