gri3-wm/include
Michael Stapelberg d641e1da3b Don’t force wrapping when focusing in a direction would work (+test)
Think of the following layout:

 -------------
 | tab |     |
 | con | win |
 |     |     |
 -------------

The tabbed container on the left has two children. Assume you have focused the
second/right child in the tabbed container. i3 used to focus the first/left
container of the tabbed container when using 'focus right' (it wrapped focus).

With this commit, the default behaviour is to instead focus the window on the
right of the screen.

The intention is to make focus switching more intuitive, especially with tabbed
containers supporting 'focus left'/'focus right' in tree. You should end up
using less 'focus parent' :).

You can force the old behaviour with 'force_focus_wrapping true' in your
config.

Code coverage is 62.5% with this commit.
2011-06-12 12:56:50 +02:00
..
i3 Ported over some message types from -next. 2010-11-21 21:36:19 +01:00
all.h Time Lord technology: for_window config directive to run arbitrary cmds 2011-05-15 20:10:25 +02:00
assignments.h Implement assignments for (named) workspaces, with '~' compatibility (floating) 2011-05-23 18:41:17 +02:00
atoms.xmacro Set the I3_SOCKET_PATH and I3_CONFIG_PATH atoms on the X11 root window 2011-03-19 21:20:38 +01:00
click.h refactor handlers.{c,h}: declare the handlers static, remove unnecessary parameters 2011-03-20 16:53:12 +01:00
cmdparse.h ipc/parser: commands can now return custom JSON replies 2010-07-17 15:15:37 +02:00
con.h Implement 'fullscreen global' 2011-06-10 18:27:20 +02:00
config.h Don’t force wrapping when focusing in a direction would work (+test) 2011-06-12 12:56:50 +02:00
data.h Implement assignments for (named) workspaces, with '~' compatibility (floating) 2011-05-23 18:41:17 +02:00
debug.h Add vim hints, copyright notice to each file, add LICENSE, retab! everything 2009-02-14 02:33:31 +01:00
ewmh.h Bring back some more EWMH support. 2011-03-14 17:11:33 +01:00
floating.h Bugfix: Check if a floating window’s coordinates are within a different workspace when managing (Thanks Merovius) 2011-04-18 19:28:03 +02:00
handlers.h Bugfix: Ignore EnterNotifies generated by UnmapNotifies 2011-04-19 21:50:56 +02:00
i3.h Implement assignments for (named) workspaces, with '~' compatibility (floating) 2011-05-23 18:41:17 +02:00
ipc.h Set the I3_SOCKET_PATH atom to the expanded path. 2011-03-21 23:46:03 +01:00
load_layout.h first step of the big refactoring ("tree" branch). 2010-04-13 13:17:39 +02:00
log.h loglevel bitmasks needs to be larger because we got more than 32 files 2010-04-17 17:46:11 +02:00
manage.h Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
match.h Implement assignments for (named) workspaces, with '~' compatibility (floating) 2011-05-23 18:41:17 +02:00
move.h refactor tree_move() into src/move.c, change config (!), change testcase 2011-02-14 23:05:20 +01:00
output.h Bugfix: fix disabling RandR outputs 2011-02-21 01:43:39 +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 Bugfix: Fix initialization / assignments when RandR is missing 2011-05-14 22:34:34 +02:00
render.h Bugfix: Don’t draw borders for fullscreen windows 2010-11-21 17:00:10 +01:00
resize.h Implement resizing (still buggy) 2010-11-29 10:56:16 +01:00
sighandler.h Retab sighandler.c 2010-12-31 19:36:32 +01:00
tree.h Implement 'fullscreen global' 2011-06-10 18:27:20 +02:00
util.h introduce the NODES_FOREACH and GREP_FIRST macros 2011-05-14 22:11:09 +02:00
window.h Time Lord technology: for_window config directive to run arbitrary cmds 2011-05-15 20:10:25 +02:00
workspace.h Implement 'workspace next/prev' (+test) 2011-06-10 16:03:59 +02:00
x.h Argument for 'kill' for killing a specific window (now default) or the whole client (+test) 2011-05-13 20:41:03 +02:00
xcb.h Handle FocusIn events generated by clients and update decoration accordingly (Thanks mseed) 2011-03-20 16:26:36 +01:00
xcb_compat.h Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
xcursor.h little style fixes, add vim modeline 2010-11-28 13:02:29 +01:00
xinerama.h first step of the big refactoring ("tree" branch). 2010-04-13 13:17:39 +02:00