swayfx/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
..
commands Implement hide_edge_borders smart (like in i3 4.13) 2017-01-12 12:40:28 +01:00
border.c Handle border-related malloc failures 2016-12-15 19:01:40 -05:00
CMakeLists.txt Change how security config is loaded 2016-12-17 15:21:57 -05:00
commands.c Handle allocation failures in security code 2016-12-15 19:01:41 -05:00
config.c Fix format error 2017-01-08 11:07:45 -05:00
container.c Put floating views in center, fallback on top left 2016-12-18 10:43:10 +01:00
criteria.c Reorganize includes 2016-09-01 08:18:37 -04:00
debug_log.c Reorganize includes 2016-09-01 08:18:37 -04:00
extensions.c Add redshift support 2016-12-28 02:04:51 -05:00
focus.c prevent dereference of freed workspace 2016-10-02 22:03:52 -05:00
handlers.c Fix #1008 2017-01-11 21:13:44 -05:00
input.c Handle calloc failures 2016-12-15 19:01:41 -05:00
input_state.c Reorganize includes 2016-09-01 08:18:37 -04:00
ipc-json.c Fix workspace layouts in json data 2017-01-06 01:28:36 +02:00
ipc-server.c Fix build error 2016-12-15 19:01:41 -05:00
layout.c Implement hide_edge_borders smart (like in i3 4.13) 2017-01-12 12:40:28 +01:00
main.c Log capability dropping 2017-01-12 04:35:09 +02:00
output.c Add output wrapping 2017-01-13 16:06:10 -08:00
security.c Handle allocation failures in security code 2016-12-15 19:01:41 -05:00
sway-bar.5.txt Implement configurable wrapping on bar ws scroll 2016-07-17 11:26:38 -04:00
sway-input.5.txt Add left_handed support for input devices 2016-10-25 22:06:23 +02:00
sway-security.7.txt Change how security config is loaded 2016-12-17 15:21:57 -05:00
sway.1.txt document all xkb settings handled by wlc 2016-08-09 10:41:06 -04:00
sway.5.txt document workspace_auto_back_and_forth command 2016-09-16 21:53:46 -05:00
workspace.c Add remaining sway allocation failure handling 2016-12-15 19:01:41 -05:00