aboutsummaryrefslogtreecommitdiff
path: root/include/sway/output.h
AgeCommit message (Collapse)Author
2017-12-13Update output containers on output layout changeemersion
2017-12-12Add scale and transform events to sway_outputemersion
2017-11-25Arrange windows on desktopDrew DeVault
2017-11-19Add outputs to the treeDrew DeVault
2017-11-18Move everything to sway/old/Drew DeVault
2017-11-11Wire up output frame loopDrew DeVault
2017-01-13Add output wrappingDaniel Kessler
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.
2016-09-01Reorganize includesDrew DeVault