aboutsummaryrefslogtreecommitdiff
path: root/layout-set.c
Commit message (Collapse)AuthorAge
* Sync OpenBSD patchset 978:Tiago Cunha2011-11-10
| | | | | Fix a trivial copy-and-paste error (sx->sy), from Chris Johnsen.
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* Sync OpenBSD patchset 867:Tiago Cunha2011-03-19
| | | | | | Prevent tiled producing a corrupt layout when only one column is needed, from Karl Ferdinand Ebert.
* Sync OpenBSD patchset 799:Tiago Cunha2010-12-22
| | | | | | | Add other-pane-height and other-pane-width options, allowing the width or height of the smaller panes in the main-horizontal and main-vertical layouts to be set. Mostly from David Goodlad.
* In the built-in layouts, distribute the panes more evenly.Micah Cowan2010-12-07
| | | | | Set the default value of main-pane-width to 80, rather than 81.
* Sync OpenBSD patchset 688:Tiago Cunha2010-05-14
| | | | | | Add a tiled layout, originally from Liam Bedford a while ago, fixed up by me.
* Sync OpenBSD patchset 631:Tiago Cunha2010-02-05
| | | | | Fix divide by zero on small windows with main-* layouts.
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
* Sync OpenBSD patchset 191:Tiago Cunha2009-07-28
| | | | | | If select-layout is not given an argument, reapply the last layout used in the window, if any.
* Sync OpenBSD patchset 145:Tiago Cunha2009-07-20
| | | | | Kill some dead stores and fix a null pointer deref, found by clang.
* Sync OpenBSD patchset 142:Tiago Cunha2009-07-20
Each window now has a tree of layout cells associated with it. In this tree, each node is either a horizontal or vertical cell containing a list of other cells running from left-to-right or top-to-bottom, or a leaf cell which is associated with a pane. The major functional changes are: - panes may now be split arbitrarily both horizontally (splitw -h, C-b %) and vertically (splitw -v, C-b "); - panes may be resized both horizontally and vertically (resizep -L/-R/-U/-D, bound to C-b left/right/up/down and C-b M-left/right/up/down); - layouts are now applied and then may be modified by resizing or splitting panes, rather than being fixed and reapplied when the window is resized or panes are added; - manual-vertical layout is no longer necessary, and active-only layout is gone (but may return in future); - the main-pane layouts now reduce the size of the main pane to fit all panes if possible. Thanks to all who tested.