diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/frames.texi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 740ea43a90f..c053d8c5543 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -1234,6 +1234,37 @@ bottom corner of the frame. The parameters @code{min-width} and | |||
| 1234 | @code{min-height} (@pxref{Size Parameters}) can be used to obtain a | 1234 | @code{min-height} (@pxref{Size Parameters}) can be used to obtain a |
| 1235 | similar behavior when changing the frame size from within Emacs. | 1235 | similar behavior when changing the frame size from within Emacs. |
| 1236 | 1236 | ||
| 1237 | When a frame is in a fullscreen state (@pxref{Size Parameters}), | ||
| 1238 | requests to change the frame size via one of these functions may be | ||
| 1239 | supported or refused either by Emacs itself or by the window manager. | ||
| 1240 | The following variable provides more control of the resulting behavior. | ||
| 1241 | |||
| 1242 | @cindex altering the size of fullscreen frames | ||
| 1243 | @cindex resizing fullscreen frames | ||
| 1244 | @defopt alter-fullscreen-frames | ||
| 1245 | This options controls how to handle requests to alter fullscreen frames. | ||
| 1246 | Emacs consults it when asked to resize a fullscreen frame via functions | ||
| 1247 | like @code{set-frame-size} or when setting the @code{width} or | ||
| 1248 | @code{height} parameter of a frame. The following values are provided: | ||
| 1249 | |||
| 1250 | @table @code | ||
| 1251 | @item nil | ||
| 1252 | This will forward the resize request to the window manager and leave it | ||
| 1253 | to the latter how to proceed. | ||
| 1254 | |||
| 1255 | @item t | ||
| 1256 | This will first reset the fullscreen status and then forward the resize | ||
| 1257 | request on to the window manager. | ||
| 1258 | |||
| 1259 | @item inhibit | ||
| 1260 | This will reject the resize request and leave the fullscreen status | ||
| 1261 | unchanged. | ||
| 1262 | @end table | ||
| 1263 | |||
| 1264 | The default is @code{inhibit} on NS builds and @code{nil} everywhere | ||
| 1265 | else. | ||
| 1266 | @end defopt | ||
| 1267 | |||
| 1237 | @cindex tracking frame size changes | 1268 | @cindex tracking frame size changes |
| 1238 | The abnormal hook @code{window-size-change-functions} (@pxref{Window | 1269 | The abnormal hook @code{window-size-change-functions} (@pxref{Window |
| 1239 | Hooks}) tracks all changes of the inner size of a frame including those | 1270 | Hooks}) tracks all changes of the inner size of a frame including those |