aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-06 10:17:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-06 10:17:29 +0000
commite14c592f39dac97a5045f5f6ec1aa1ca0192532b (patch)
tree9821e9102a20f97dfdd0b4f00d54db1ce11129ab /config.h
parentselection: extend-block: update pivot point and selection direction (diff)
config: add optional ‘center’ argument to ‘pad’
When set, the grid contents is centered in the window. I.e. the left/right and top/bottom margins are equal (+- 1px). This causes the content to “jump” while doing an interactive resize, but may still be preferred in e.g. a tiling WM. Closes #273
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index a1b27c04..21b79230 100644
--- a/config.h
+++ b/config.h
@@ -70,6 +70,7 @@ struct config {
unsigned pad_x;
unsigned pad_y;
+ bool center;
bool bold_in_bright;
enum {