aboutsummaryrefslogtreecommitdiff
path: root/foot.ini
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-05-23 06:38:00 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-05-24 07:56:16 +0000
commit5a84f8d841d09e9aa91befbbb8e8b634b7f8959a (patch)
treec4ebcab63f72530a6083913cc9e8650ceae5adad /foot.ini
parentcursor-shape: map "dnd-move" to WP_CURSOR_SHAPE_DEVICE_V1_SHAPE_MOVE (diff)
conf: pad: add center-when-fullscreen and center-when-maximized-and-fullscreen
Before this patch, the grid content was *always* centered when the window was maximized or fullscreened, regardless of how the user had configured padding. Now, the behavior is controlled by the 'pad' option. Before this patch, the syntax was pad MxN [center] Now it is pad MxN [center|center-when-fullscreen|center-when-maximized-and-fullscreen] The default is "pad 0x0 center-when-maximized-and-fullscreen", to match current behavior. Closes #2111
Diffstat (limited to 'foot.ini')
-rw-r--r--foot.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/foot.ini b/foot.ini
index f3ef6d85..73fdb7ab 100644
--- a/foot.ini
+++ b/foot.ini
@@ -28,7 +28,7 @@
# initial-window-size-pixels=700x500 # Or,
# initial-window-size-chars=<COLSxROWS>
# initial-window-mode=windowed
-# pad=0x0 # optionally append 'center'
+# pad=0x0 center-when-maximized-and-fullscreen
# resize-by-cells=yes
# resize-keep-grid=yes
# resize-delay-ms=100