sway/include/sway
Daniel Kessler eda4bad725 Add output wrapping
This fixes issue #733. Now if the user focuses output right but is at
the rightmost monitor, the focus will wrap the the leftmost monitor.
This commit adds a new function, swayc_opposite_output, which selects
the opposite output given a position and a direction. Now, when calling
output_by_name, we first check if there is an adjacent output to switch
to. If that fails, we call swayc_opposite_output to handle wrapping.
2017-01-13 16:06:10 -08:00
..
border.h Reorganize includes 2016-09-01 08:18:37 -04:00
commands.h Add IPC security policy command handlers 2016-12-02 17:34:26 -05:00
config.h Implement hide_edge_borders smart (like in i3 4.13) 2017-01-12 12:40:28 +01:00
container.h fix layout switching (was broken because of workspace_layout) 2016-12-04 08:31:34 -05:00
criteria.h Reorganize includes 2016-09-01 08:18:37 -04:00
extensions.h Reorganize includes 2016-09-01 08:18:37 -04:00
focus.h Reorganize includes 2016-09-01 08:18:37 -04:00
handlers.h Reorganize includes 2016-09-01 08:18:37 -04:00
input.h Reorganize includes 2016-09-01 08:18:37 -04:00
input_state.h Reorganize includes 2016-09-01 08:18:37 -04:00
ipc-json.h Reorganize includes 2016-09-01 08:18:37 -04:00
ipc-server.h Reorganize includes 2016-09-01 08:18:37 -04:00
layout.h Reorganize includes 2016-09-01 08:18:37 -04:00
output.h Add output wrapping 2017-01-13 16:06:10 -08:00
security.h Enforce command policies 2016-12-02 08:17:45 -05:00
workspace.h Reorganize includes 2016-09-01 08:18:37 -04:00