Previous: Maximizing Without Borders, Up: Maximizing Windows [Contents][Index]
One command restores windows from all the different types of maximization.
Restore the position and dimensions of window to their original, unmaximized, states.
If the window is maximized for example vertically but not horizontally, then only vertical position and dimension are restored.
If defined, direction is a symbol, either vertical
or
horizontal
, and unmaximization will only occur for that
direction.
Returns a cons-cell (x . y)
indicating the position
that the window
would unmaximize to.
If the window is maximized for example vertically but not horizontally, then y is the y coordinate before maximization, but x is the window’s current x coordinate.
Returns a cons-cell (w . h)
indicating the
dimensions that window
would unmaximize to.
If the window is maximized for example vertically but not horizontally, then y is the height before maximization, but x is the window’s current width.
Don’t treat window as maximized any more, keeping the size and the position. You’ll be able to move and resize, but won’t be able to unmaximize.
If the optional argument ‘direction’ is ‘vertical’ or ‘horizontal’, then only that direction is unmaximized.
When window is not maximized, nothing happens.