aboutsummaryrefslogtreecommitdiffstats
path: root/sway/container.c
Commit message (Collapse)AuthorAge
* Move sway's internal tree code to sway/tree/Libravatar Drew DeVault2017-11-11
|
* Fix use-after free introduced by cbe7364Libravatar Drew DeVault2017-10-09
|
* Remove destroyed views from scratchpadLibravatar Drew DeVault2017-10-08
| | | | Fixes #1363
* Prevent race condition in the kill commandLibravatar Calvin Lee2017-08-06
| | | | | | | | | When killing views with `close_views` a use-after-free can sometimes occur because parent views are killed before their children. This commit makes `container_map` run functions on child containers before their parent, fixing the race. Fixes #1302
* Use WLC v2 pointer interfaceLibravatar Scott Anderson2017-07-12
|
* Force focus on unmanaged views during pointer testLibravatar Drew DeVault2017-06-14
|
* Impliment i3-style marksLibravatar Calvin Lee2017-04-03
| | | | | | | | This commit adds three commands to sway: `show_marks`, `mark` and `unmark`. Marks are displayed right-aligned in the window border as i3 does. Marks may be found using criteria. Fixes #1007
* The default layout of a workspace should follow the outputLibravatar Jarkko Oranen2017-03-19
| | | | | | Hardcoding it to L_HORIZ does not make sense to me, as you get the unexpected behaviour that windows will be arranged horizontally until you switch the layout.
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* Further indentation correctionsLibravatar Drew DeVault2017-03-10
|
* use absolute view geometry to calculate positionLibravatar Zandr Martin2017-02-14
|
* Add window instance supportLibravatar Mykyta Holubakha2017-01-19
|
* Indent cleanupsLibravatar wil2017-01-08
|
* cleanup in auto layoutsLibravatar wil2016-12-29
| | | | | | - added L_AUTO_FIRST/LAST instead of using explicit layouts. - when switching between auto layout that don't share the same major axis, invert the width/height of their child views to preserve their relative proportions.
* Added Awesome/Monad type "auto" layoutsLibravatar wil2016-12-29
|
* Put floating views in center, fallback on top leftLibravatar Nicolas Cornu2016-12-18
| | | | Sometimes views are created before we got its size
* Handle calloc failuresLibravatar Drew DeVault2016-12-15
|
* Add remaining sway allocation failure handlingLibravatar Drew DeVault2016-12-15
|
* fix layout switching (was broken because of workspace_layout)0.11-rc1Libravatar D.B2016-12-04
| | | | | | | For workspace containers, swayc_change_layout also changes ->layout alongside ->workspace_layout when it's a sensible thing to do. There is an additional test for 'layout toggle' command which ensures that containers will be tiled horizontally after toggling from tabbed or stacked.
* add workspace_layout to containerLibravatar D.B2016-12-04
| | | | | Add swayc_change_layout function, which changes either layout or workspace_layout, depending on the container type.
* Revert "Merge pull request #952 from ↵Libravatar Drew DeVault2016-10-12
| | | | | | | SirCmpwn/revert-948-floating-titlebar-click" This reverts commit 857eea8b6355deff7a12edd8b733f8057210142a, reversing changes made to ce713efcd23b82a7d85c1976ddfbd46f08133ff6.
* Revert "Fixes dealing with workspace_layout and related bugs [rfc]"Libravatar Drew DeVault2016-10-12
|
* Revert "also check floating cons in container_find"Libravatar Drew DeVault2016-10-12
|
* Merge pull request #945 from thejan2009/workspace_layoutLibravatar Drew DeVault2016-10-11
|\ | | | | Fixes dealing with workspace_layout and related bugs [rfc]
| * add workspace_layout, ensure ws is always L_HORIZLibravatar D.B2016-10-11
| | | | | | | | | | | | Add swayc_change_layout function, which changes either layout or workspace_layout, depending on the container type. Workspace being always L_HORIZ makes this much more i3-compatible.
* | also check floating cons in container_findLibravatar D.B2016-10-11
|/
* add click on title_bar to focus a containerLibravatar Nicolas Cornu2016-10-06
|
* add unique IDs to containersLibravatar Zandr Martin2016-09-21
|
* Fix swaybar when running on named outputs.Libravatar Ryan Dwyer2016-09-17
| | | | | | | | | | When using a bar on a named output, load_swaybars() requires the output to be active (ie. in the root container), but this is not the case if the bar is added to the last output. To fix this, load_swaybars() is now called after the output has been added to the root container. After fixing that, swaybar would segfault due to using the wrong index variable when loading outputs and config.
* Reorganize includesLibravatar Drew DeVault2016-09-01
|
* Update hidpi support to latest wlc APILibravatar Drew DeVault2016-07-28
|
* Initial pass on HiDPI supportLibravatar Drew DeVault2016-07-28
|
* outer gap 0 with smart_gaps onLibravatar D.B2016-07-21
|
* refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use ↵Libravatar D.B2016-07-16
| | | | where needed
* Fix tabbed/stacked corner case #742Libravatar D.B2016-07-07
| | | | | | Tabbed/stacked containers are now created only if a view is present on the workspace. If a view is created on previously empty tabbed/stacked workspace, it gets wrapped in a container.
* implement `get_tree` commandLibravatar Zandr Martin2016-07-04
|
* Added a null check in tabbed_stacked_parentLibravatar Hummer120072016-06-18
| | | | This fixes a segfault, when trying to get parent of the workspace/root container/(?), as it is not assuered that the view's parent node is not null in the loop
* Initial implementation for floating_maximum_sizeLibravatar Denis Doria2016-06-02
|
* Initial work for floating view with sane valuesLibravatar Denis Doria2016-05-31
|
* enforce workspace output assignentsLibravatar Zandr Martin2016-05-28
| | | | | | | | when creating a new output, move to that output all extant workspaces that are assigned to that output. (unrelated) remove comment that was no longer applicable, fix spacing in an assignment
* Implement sort_workspaces() function for outputs.Libravatar Zandr Martin2016-05-27
| | | | This seems to have resolved issue #669 for me.
* Revert "sway/container.c: fix segfault where view is assigned prematurely"Libravatar Drew DeVault2016-05-14
|
* sway/container.c: fix segfault where view is assigned prematurelyLibravatar Daniel Lockyer2016-05-09
|
* Remove unused functionLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Don't send invisble view to backLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Disable inner gaps when in tabbed/stacked modeLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Add support for nested tabbed/stacked containersLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Reapply prev layout when exiting tabbed/stackedLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Correctly determine default layoutLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Fix problems with floating windowsLibravatar Mikkel Oscar Lyderik2016-04-25
| | | | | Makes any tabbed/stacked layout a container to separate from floating windows which may be attached to a workspace.