aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-30 19:14:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-30 19:14:37 +0000
commitf55e65808c86d4a4c49e0777af6ecae7d3a107df (patch)
tree57d244881467b30488f384a7d5e38c839ec64830 /config.h
parentselection: offer clipboard content in more mime types (diff)
parentconfig: replace union in config struct with simple width/height members (diff)
Merge branch 'simplify-config-struct'
Diffstat (limited to 'config.h')
-rw-r--r--config.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/config.h b/config.h
index 2c57850c..e69e5376 100644
--- a/config.h
+++ b/config.h
@@ -64,16 +64,8 @@ struct config {
struct {
enum conf_size_type type;
- union {
- struct {
- unsigned width;
- unsigned height;
- } px;
- struct {
- unsigned width;
- unsigned height;
- } cells;
- };
+ unsigned width;
+ unsigned height;
} size;
unsigned pad_x;