mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
swaynag: allocate button_details with details
They are used together, so it doesn't make sense to allocate them separately.
This commit is contained in:
parent
f167acce3a
commit
0babfce4b5
3 changed files with 8 additions and 18 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue