mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-01-01 06:20:17 +01:00
eda4bad725
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. |
||
---|---|---|
.. | ||
commands | ||
border.c | ||
CMakeLists.txt | ||
commands.c | ||
config.c | ||
container.c | ||
criteria.c | ||
debug_log.c | ||
extensions.c | ||
focus.c | ||
handlers.c | ||
input.c | ||
input_state.c | ||
ipc-json.c | ||
ipc-server.c | ||
layout.c | ||
main.c | ||
output.c | ||
security.c | ||
sway-bar.5.txt | ||
sway-input.5.txt | ||
sway-security.7.txt | ||
sway.1.txt | ||
sway.5.txt | ||
workspace.c |