swayfx/sway
S. Christoffer Eliesen 236f26f62e output: Support multiple adjacent outputs.
When querying for an adjacent output we now need an absolute position in
order to know which adjacent output that matches. (The position is
either the current mouse position or the center of the currently focused
container, depending on context.)

If two outputs have one edge each that at least partially align with
each other they now count as adjacent.

Seamless mouse is affected by this and now properly moves and positions
itself between outputs with "uneven" placement (as long as they have at
least some part of the edge adjacent to each other).

When focusing or moving a container in a specified direction the center
of the current focused container decides where to look for an adjacent
output. So if e.g. an output has two adjacent outputs to the right and a
"focus right" command is issued then it's the placement of the currently
focused container that decides which output actually gets focused.

Also, if an output has at least one output adjacent in some direction
but the entire edge is not covered (ie. it has "holes" with no outputs),
then the algorithm will choose the output that is closest to the
currently focused container (this does not apply to seamless mouse, the
pointer will just stop at the edge in that case).
2015-11-16 21:32:18 +01:00
..
commands.c output: Support multiple adjacent outputs. 2015-11-16 21:32:18 +01:00
config.c cmd_output: Replace existing config if called multiple times. 2015-11-16 15:57:42 +01:00
container.c We wlc_point now 2015-11-14 11:30:29 -05:00
debug_log.c Start fleshing out wayland client implementation 2015-11-12 19:04:01 -05:00
focus.c Include header declaring ipc_event_workpace(2) 2015-11-04 21:12:25 +01:00
handlers.c output: Support multiple adjacent outputs. 2015-11-16 21:32:18 +01:00
input_state.c We somewhat more wlc_point now 2015-11-14 17:14:23 -05:00
ipc.c ipc: Store socketname in SWAYSOCK. Fixes --get-socketpath. 2015-11-13 18:18:52 +01:00
layout.c output: Support multiple adjacent outputs. 2015-11-16 21:32:18 +01:00
main.c ipc: Store socketname in SWAYSOCK. Fixes --get-socketpath. 2015-11-13 18:18:52 +01:00
output.c output: Support multiple adjacent outputs. 2015-11-16 21:32:18 +01:00
readline.c Fix potential memory leak 2015-08-20 02:30:22 +02:00
resize.c return after disconnect ipc client and minor checks 2015-09-29 07:19:10 -07:00
stringop.c We don't need to implement strdup 2015-11-12 19:43:03 -05:00
util.c added missing util.h/c stuff 2015-08-25 19:53:59 +02:00
workspace.c put ipc_event_workspace in update_focus 2015-11-02 11:28:51 -08:00