mirror of
https://github.com/NickHu/sway
synced 2025-01-27 07:58:27 +01:00
fix: restore refresh to the modes_array
This commit is contained in:
parent
c18cd9dd03
commit
71686ed0e7
1 changed files with 2 additions and 0 deletions
|
@ -136,6 +136,8 @@ static void ipc_json_describe_output(struct sway_output *output,
|
|||
json_object_new_int(mode->width));
|
||||
json_object_object_add(mode_object, "height",
|
||||
json_object_new_int(mode->height));
|
||||
json_object_object_add(mode_object, "refresh",
|
||||
json_object_new_int(mode->refresh));
|
||||
json_object_array_add(modes_array, mode_object);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue