aboutsummaryrefslogtreecommitdiffstats
path: root/sway/layout.c
Commit message (Collapse)AuthorAge
* output: Support multiple adjacent outputs.Libravatar S. Christoffer Eliesen2015-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Fix gaps for views being incorrectLibravatar Drew DeVault2015-11-12
|
* Learn "gaps edge_gaps <on|off|toggle>".Libravatar S. Christoffer Eliesen2015-11-04
| | | | | | | | | | | | | When yes, the old behaviour of adding half the inner gap around each view is used. When no, don't add any gap when an edge of the view aligns with the workspace. The result is inner gap only between views, not against the workspace edge. The algorithm is not perfect because it means the extra space is distributed amongst edge-aligned views only, but it's simple, looks good and it works.
* commands: Learn 'move workspace to output <direction|name>'.Libravatar S. Christoffer Eliesen2015-11-03
|
* layout: get_swayc_in_direction: Properly find adjacent outputs.Libravatar S. Christoffer Eliesen2015-10-29
|
* layout: Don't reset container size if it's a floating window.Libravatar S. Christoffer Eliesen2015-10-28
|
* log: Add swayc_log, use at a few key places.Libravatar S. Christoffer Eliesen2015-10-25
| | | | | swayc_log works just like sway_log, but appends type and name from given container to the log output.
* Merge branch 'master' of https://github.com/taiyu-len/swayLibravatar taiyu2015-09-22
|\ | | | | | | merge
| * container_move checkLibravatar taiyu2015-09-18
| |
* | #184Libravatar taiyu2015-09-22
|/
* prevent views from disappearingLibravatar taiyu2015-09-07
|
* default gap valueLibravatar taiyu2015-09-04
|
* #151 fixLibravatar taiyu2015-08-29
|
* Fixed move scratchpad and added in scratchpad showLibravatar Luminarys2015-08-29
|
* Added in scratchpad addingLibravatar Luminarys2015-08-28
|
* move v3Libravatar taiyu2015-08-28
|
* styleLibravatar taiyu2015-08-28
|
* layout fix for a certain caseLibravatar taiyu2015-08-28
|
* dont move floating contaienrsLibravatar taiyu2015-08-28
|
* move function redoneLibravatar taiyu2015-08-28
|
* update visibility + container info functionsLibravatar taiyu2015-08-27
|
* slight fixLibravatar taiyu2015-08-26
|
* fixed move_container bug, log prints before abortingLibravatar taiyu2015-08-26
|
* some function documentation, fixed gaps on config reloadLibravatar taiyu2015-08-26
|
* move_container_to fixupLibravatar taiyu2015-08-26
|
* fixed segfault on exit + a little fixup of that floatfocus prLibravatar taiyu2015-08-25
|
* added "move container to workspace"Libravatar minus2015-08-25
| | | | makes the previous commit actually testable
* add limit to swayc_in_directionLibravatar taiyu2015-08-24
|
* mergeLibravatar taiyu2015-08-23
|\
| * Fix minor bug with output positioningLibravatar Drew DeVault2015-08-22
| |
| * Implement output positioningLibravatar Drew DeVault2015-08-22
| | | | | | | | :tada:
| * Set x/y positions for output containersLibravatar Drew DeVault2015-08-22
| |
* | fixed container resize oddityLibravatar taiyu2015-08-22
| |
* | floating/tiling move + floating resize cleaned and fixedLibravatar taiyu2015-08-22
|/
* Refactored resizing functions into resize.cLibravatar Luminarys2015-08-21
|
* swayc_is_fullscreenLibravatar taiyu2015-08-21
|
* bugfixes, renamesLibravatar taiyu2015-08-21
|
* fixed #108 signed/unsigned comparisonLibravatar minus2015-08-21
|
* Merge pull request #105 from Half-Shot/masterLibravatar Drew DeVault2015-08-21
|\ | | | | Basic 'move' functionality.
| * Fixed style errorsLibravatar Half-Shot2015-08-20
| |
| * Few stray bitsLibravatar Half-Shot2015-08-20
| |
| * Merge branch 'master' of https://github.com/SirCmpwn/swayLibravatar Half-Shot2015-08-20
| |\
| * | Basic left right move command implemented.Libravatar Half-Shot2015-08-20
| | |
* | | Merge pull request #101 from Luminarys/masterLibravatar Drew DeVault2015-08-21
|\ \ \ | |_|/ |/| | Added in basic resizing command.
| * | Added in bspwm like mouse resizingLibravatar Luminarys2015-08-21
| | |
| * | Rewrite of resize command to make it more saneLibravatar Luminarys2015-08-20
| | |
| * | Style fixesLibravatar Luminarys2015-08-20
| | |
| * | Added in basic resize commandLibravatar Luminarys2015-08-20
| | |
* | | find_parent_by_typeLibravatar taiyu2015-08-20
|/ /
* | Merge branch 'master' of https://github.com/SirCmpwn/swayLibravatar taiyu2015-08-20
|\ \ | | | | | | | | | merging