gri3-wm/include
Michael Stapelberg de94f6da1a Introduce splith/splitv layouts, remove orientation
With this commit, the "default" layout is replaced by the splith and
splitv layouts. splith is equivalent to default with orientation
horizontal and splitv is equivalent to default with orientation
vertical.

The "split h" and "split v" commands continue to work as before, they
split the current container and you will end up in a split container
with layout splith (after "split h") or splitv (after "split v").

To change a splith container into a splitv container, use either "layout
splitv" or "layout toggle split". The latter command is used in the
default config as mod+l (previously "layout default"). In case you have
"layout default" in your config file, it is recommended to just replace
it by "layout toggle split", which will work as "layout default" did
before when pressing it once, but toggle between horizontal/vertical
when pressing it repeatedly.

The rationale behind this commit is that it’s cleaner to have all
parameters that influence how windows are rendered in the layout itself
rather than having a special parameter in combination with only one
layout. This enables us to change existing split containers in all cases
without breaking existing features (see ticket #464). Also, users should
feel more confident about whether they are actually splitting or just
changing an existing split container now.

As a nice side-effect, this commit brings back the "layout toggle"
feature we once had in i3 version 3 (see the userguide).

AFAIK, it is safe to use in-place restart to upgrade into versions
after this commit (switching to an older version will break your layout,
though).

Fixes #464
2012-08-04 03:13:24 +02:00
..
i3 shmlog: store meta information in the buffer itself, store path as X11 atom 2012-01-06 23:40:07 +00:00
all.h Display i3-nagbar when commands lead to an error 2012-08-02 17:45:09 +02:00
assignments.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
atoms.xmacro shmlog: store meta information in the buffer itself, store path as X11 atom 2012-01-06 23:40:07 +00:00
click.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
cmdparse.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
commands.h Introduce splith/splitv layouts, remove orientation 2012-08-04 03:13:24 +02:00
commands_parser.h Send proper error messages upon parser failures, use yajl for generating command replies 2012-05-02 22:01:50 +02:00
con.h Introduce splith/splitv layouts, remove orientation 2012-08-04 03:13:24 +02:00
config.h Implement fake-outputs option (cmdline, cfg) for multi-monitor testing 2012-04-09 14:28:36 +02:00
data.h Introduce splith/splitv layouts, remove orientation 2012-08-04 03:13:24 +02:00
debug.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
ewmh.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
fake_outputs.h Implement fake-outputs option (cmdline, cfg) for multi-monitor testing 2012-04-09 14:28:36 +02:00
floating.h Bugfix: Fix coordinates when the rect of an output changes (Thanks Paul) 2012-01-21 15:07:53 +00:00
handlers.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
i3.h Implement support for chosing a 32 bit visual (necessary for pseudo-transparency) (Thanks darkraven) 2012-02-15 18:56:07 +00:00
ipc.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
key_press.h Display i3-nagbar when commands lead to an error 2012-08-02 17:45:09 +02:00
libi3.h Move is_debug_build() to libi3/ 2012-05-09 19:12:20 +02:00
load_layout.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
log.h i3: Replace loglevels by a global debug logging 2012-07-22 18:41:12 +02:00
manage.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
match.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
move.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
output.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
queue.h implement TAILQ_SWAP (only for consecutive elements, order relevant) and use it 2011-02-15 02:21:23 +01:00
randr.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
regex.h i3: Replace loglevels by a global debug logging 2012-07-22 18:41:12 +02:00
render.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
resize.h mark parameters const 2011-11-10 19:17:36 +00:00
scratchpad.h add missing scratchpad.{c,h} 2011-12-21 23:17:52 +00:00
sd-daemon.h implement "socket activation": passing IPC sockets to i3 2011-08-10 15:55:27 +02:00
shmlog.h forgot include/shmlog.h 2012-01-07 14:59:58 +00:00
sighandler.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
startup.h Add a --no-startup-id flag for exec (command), exec (config), exec_always (config) 2011-10-25 22:18:17 +01:00
tree.h Allow focus child/parent when in fullscreen. 2012-06-03 16:24:53 +02:00
util.h Consolidate all convert_* functions into libi3. 2011-11-16 20:54:30 +00:00
window.h Bugfix: Respect WM_HINTS.input for WM_TAKE_FOCUS clients 2012-01-18 19:16:57 +00:00
workspace.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
x.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
xcb.h A few style fixes for the previous commit 2012-03-26 17:00:35 +02:00
xcb_compat.h Fix xcb_compat.h to make i3 compile with older xcb versions (Thanks David Coppa) 2012-01-20 18:13:52 +00:00
xcursor.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
xinerama.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00