aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAndrew J. Hesford <ajh@sideband.org>2024-01-17 20:00:14 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-02-05 11:14:53 +0000
commit21a8d832ce12217ddd493cdcaefdc457128f2ada (patch)
treec49b5375dc8f2b1919adc2a1a8fc49e2c25cc3dd /config.h
parentutil: add streq() function and use in place of strcmp(...) == 0 (diff)
feature: add resize-by-cells option to constrain window sizes...
...to multiples of the cell size, and preserve grid size when changing fonts or display scales in floating windows.
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 3c5b3df7..cc4094c4 100644
--- a/config.h
+++ b/config.h
@@ -128,6 +128,9 @@ struct config {
unsigned pad_x;
unsigned pad_y;
bool center;
+
+ bool resize_by_cells;
+
uint16_t resize_delay_ms;
struct {