From 69d117f91b372388904566b261c8d0ecc6617bec Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 1 Feb 2023 15:00:11 -0700 Subject: [PATCH] docs: clarify that you want window_decorations=RESIZE Increase from mentioning it one time in a subtle way to 4 times in 4 different ways. --- docs/config/lua/config/window_decorations.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/config/lua/config/window_decorations.md b/docs/config/lua/config/window_decorations.md index f3637d676..af8346e1b 100644 --- a/docs/config/lua/config/window_decorations.md +++ b/docs/config/lua/config/window_decorations.md @@ -6,7 +6,10 @@ Configures whether the window has a title bar and/or resizable border. The value is a set of of flags: -* `window_decorations = "NONE"` - disables titlebar and border (borderless mode) +* `window_decorations = "NONE"` - disables titlebar and border (borderless + mode), but causes problems with resizing and minimizing the window, so you + probably want to use `RESIZE` instead of `NONE` if you just want to remove + the title bar. * `window_decorations = "TITLE"` - disable the resizable border and enable only the title bar * `window_decorations = "RESIZE"` - disable the title bar but enable the resizable border * `window_decorations = "TITLE | RESIZE"` - Enable titlebar and border. This is the default. @@ -25,3 +28,13 @@ When the resizable border is disabled you will need to use features of your desktop environment to resize the window. Windows users may wish to consider [AltSnap](https://github.com/RamonUnch/AltSnap). +Think twice before removing `RESIZE` from the set of decorations as it causes +problems with resizing and minimizing the window. You usually want to keep +`RESIZE` enabled. + +If you just want to remove the title bar, set `window_decorations = "RESIZE"` +as you will run into problems if you remove `RESIZE` from the set of +decorations. + +You probably always want `RESIZE` to be listed in your `window_decorations`. +