config: add value_to_dimensions()

This commit is contained in:
Daniel Eklöf 2021-11-06 12:32:20 +01:00
parent d29c3cf7b7
commit 0c0a78498f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 15 additions and 14 deletions

View file

@ -74,8 +74,8 @@ struct config {
struct {
enum conf_size_type type;
unsigned width;
unsigned height;
uint32_t width;
uint32_t height;
} size;
unsigned pad_x;