sway/include
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
..
client.h Further refinement of wayland client support 2015-11-12 19:35:39 -05:00
commands.h Add some documentation comments 2015-11-08 12:06:51 -05:00
config.h cmd_output: Replace existing config if called multiple times. 2015-11-16 15:57:42 +01:00
container.h output: Support multiple adjacent outputs. 2015-11-16 21:32:18 +01:00
focus.h seamless_mouse: Move pointer only if successfully changed workspace. 2015-10-23 16:35:48 +02:00
handlers.h container: Move container_under_pointer here from handlers. 2015-10-29 16:37:19 +01:00
input_state.h input_state: Remove mouse_origin (x&y). Query wlc instead. 2015-10-29 18:02:02 +01:00
ipc.h Start working on IPC for get_pixels 2015-11-12 12:37:23 -05:00
layout.h commands: Learn 'move workspace to output <direction|name>'. 2015-11-03 22:38:53 +01:00
list.h set variable changes 2015-09-08 08:54:57 -07:00
log.h Add file and line number to log in Debug build 2015-11-11 08:32:32 -05:00
output.h output: Support multiple adjacent outputs. 2015-11-16 21:32:18 +01:00
readline.h Move headers to include/ 2015-08-16 11:02:56 -04:00
resize.h dont swap view with workspace... 2015-08-22 21:54:39 -07:00
stringop.h We don't need to implement strdup 2015-11-12 19:43:03 -05:00
sway.h added missing header file 2015-08-20 15:27:59 +02:00
util.h added missing util.h/c stuff 2015-08-25 19:53:59 +02:00
workspace.h seamless_mouse: Move pointer only if successfully changed workspace. 2015-10-23 16:35:48 +02:00