diff options
author | 2022-02-28 17:02:40 -0600 | |
---|---|---|
committer | 2022-03-15 11:40:32 +0100 | |
commit | 0babfce4b5f8ab22c4395766e8b7af4ad076503b (patch) | |
tree | f4568402e89431e42d20b6db9b791d77fb465329 /include | |
parent | Updating criteria checking with PCRE2 (diff) | |
download | sway-0babfce4b5f8ab22c4395766e8b7af4ad076503b.tar.gz sway-0babfce4b5f8ab22c4395766e8b7af4ad076503b.tar.zst sway-0babfce4b5f8ab22c4395766e8b7af4ad076503b.zip |
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 { | |||
67 | int offset; | 67 | int offset; |
68 | int visible_lines; | 68 | int visible_lines; |
69 | int total_lines; | 69 | int total_lines; |
70 | struct swaynag_button *button_details; | 70 | struct swaynag_button button_details; |
71 | struct swaynag_button button_up; | 71 | struct swaynag_button button_up; |
72 | struct swaynag_button button_down; | 72 | struct swaynag_button button_down; |
73 | }; | 73 | }; |