diff options
author | Phil Jones <philj56@gmail.com> | 2022-08-07 10:53:59 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-08-07 10:53:59 +0100 |
commit | e946ae5a30d4e6e367b05ac82fb96cd7083b7566 (patch) | |
tree | 2da670a14e96498d517c1a0efdae12886e5a8625 /src/entry.h | |
parent | c9f1daea03a41c0cad56453e1dcc50f6133f19c6 (diff) |
Delay scaling of percentage values.
The config file code now delays calculation of percentage values until
`config_fix_percentages()` is called. This allows the config file to be
parsed before output configuration is complete, thus allowing `--output`
and `--late-keyboard-init` to be specified in the config file.
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entry.h b/src/entry.h index 45865af..2dfa47e 100644 --- a/src/entry.h +++ b/src/entry.h @@ -61,6 +61,10 @@ struct entry { uint32_t padding_bottom; uint32_t padding_left; uint32_t padding_right; + bool padding_top_is_percent; + bool padding_bottom_is_percent; + bool padding_left_is_percent; + bool padding_right_is_percent; int32_t selection_background_padding; uint32_t input_width; uint32_t border_width; |