aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
Commit message (Collapse)AuthorAge
* Implement move [left|right|up|down]Libravatar Drew DeVault2018-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The exact semantics of this command are complicated. I'll describe each test scenario as s-expressions. Everything assumes L_HORIZ if not specified, but if you rotate everything 90 degrees the same test cases hold. ``` (container (view a) (view b focus) (view c)) -> move left (container (view b focus) (view a) (view c)) (container (view a) (view b focus) (view c)) -> move right (container (view a) (view c) (view b focus)) (container L_VERT (view a)) (container L_HORIZ (view b) (view c focus)) -> move up (container L_VERT (view a) (view c focus)) (container L_HORIZ (view b)) (workspace (view a) (view b focus) (view c)) -> move up (workspace [split direction flipped] (view b focus) (container (view a) (view c))) (workspace (view a) (view b focus) (view c)) -> move down (workspace [split direction flipped] (container (view a) (view c)) (view b focus))) Note: outputs use wlr_output_layout instead of assuming that i+/-1 is the next output in the move direction. (root (output X11-1 (workspace 1)) (output X11-2 (workspace 1 (view a focus) (view b))))) -> move left (root (output X11-1 (workspace 1 (view a focus))) (output X11-2 (workspace 1 (view b))))) (root (output X11-1 (workspace 1 (container (view a) (view b))) (output X11-2 (workspace 1 (view c focus))))) -> move left (root (output X11-1 (workspace 1 (container (view a) (view b)) (view c focus))) (output X11-2 (workspace 1))) ```
* Fix deletion of still-visible workspaces on unfocusLibravatar Drew DeVault2018-04-06
|
* Merge pull request #1743 from emersion/subsurface-damage-trackingLibravatar Drew DeVault2018-04-05
|\ | | | | Damage tracking for view children
| * Fix desktop_damage_whole_surfaceLibravatar emersion2018-04-05
| |
| * Add container_damage_wholeLibravatar emersion2018-04-05
| |
* | Handle output removal on swaybarLibravatar Drew DeVault2018-04-05
|/
* Merge branch 'wlroots' into fix-focus-inactiveLibravatar Tony Crisci2018-04-04
|\
| * Use new wlr_*_surface_at functionsLibravatar emersion2018-04-04
| |
| * Remove unused SWAY_VIEW_TYPESLibravatar emersion2018-04-04
| |
| * Implement opacity commandLibravatar Tony Crisci2018-04-04
| |
* | fix sending window new eventLibravatar Tony Crisci2018-04-04
| |
* | try to fix focus-inactiveLibravatar Tony Crisci2018-04-04
|/
* send window close eventLibravatar Tony Crisci2018-04-04
|
* fix double freeLibravatar Tony Crisci2018-04-04
|
* simplify container closeLibravatar Tony Crisci2018-04-03
|
* move output create to its own fileLibravatar Tony Crisci2018-04-03
|
* move workspace create to workspace.cLibravatar Tony Crisci2018-04-03
|
* move output damage to workspace destructorLibravatar Tony Crisci2018-04-03
|
* rename container_finish to _container_destroyLibravatar Tony Crisci2018-04-03
|
* address feedbackLibravatar Tony Crisci2018-04-03
|
* rename workspace_get_initial_outputLibravatar Tony Crisci2018-04-03
|
* clean up container_get_default_layoutLibravatar Tony Crisci2018-04-03
|
* move container_set_layout to layout.hLibravatar Tony Crisci2018-04-03
|
* make container_finish privateLibravatar Tony Crisci2018-04-03
|
* unify workspace create functionsLibravatar Tony Crisci2018-04-03
|
* unify container destroy functionsLibravatar Tony Crisci2018-04-03
|
* move view and workspace destructors to container.cLibravatar Tony Crisci2018-04-03
|
* rename _container_destroy to container_finishLibravatar Tony Crisci2018-04-03
|
* dont deallocate in container_closeLibravatar Tony Crisci2018-04-02
|
* change reap container approachLibravatar Tony Crisci2018-04-02
|
* fix more close segfaultsLibravatar Tony Crisci2018-04-02
|
* Merge branch 'wlroots' into split-containersLibravatar Tony Crisci2018-04-02
|\
| * Merge branch 'wlroots' into seat-fixesLibravatar Tony Crisci2018-04-02
| |\
| * | rename seat functionsLibravatar Tony Crisci2018-04-02
| | |
* | | address feedbackLibravatar Tony Crisci2018-04-02
| | |
* | | Merge branch 'wlroots' into split-containersLibravatar Tony Crisci2018-04-02
|\ \ \ | | |/ | |/|
| * | Partially implement move commandLibravatar Drew DeVault2018-04-02
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Works: - move [container|window] to workspace <name> - Note, this should be able to move C_CONTAINER but this is untested - move [workspace] to output [left|right|up|down|<name>] Not implemented yet: - move [left|right|up|down] - move scratchpad - move position
* | fix children list segfaultLibravatar Tony Crisci2018-03-31
| |
* | fix some segfaultsLibravatar Tony Crisci2018-03-31
| |
* | handle container destroy in the seatLibravatar Tony Crisci2018-03-31
| |
* | reap container parent on destroyLibravatar Tony Crisci2018-03-31
| |
* | basic split containersLibravatar Tony Crisci2018-03-31
|/
* Use wlr_surface_point_accepts_inputLibravatar Drew DeVault2018-03-30
|
* Add lite damage trackingLibravatar emersion2018-03-30
| | | | | This skips the renderer if nothing has changed, and renders everything otherwise.
* Fix segfault when reaping invisible workspacesLibravatar Drew DeVault2018-03-30
|
* Fix workspace deletion edge casesLibravatar Drew DeVault2018-03-30
|
* Destroy empty workspaces when moving awayLibravatar Drew DeVault2018-03-30
|
* Merge remote-tracking branch 'origin/wlroots' into swaybar-layersLibravatar Drew DeVault2018-03-30
|\
| * Fix oversights from previous pull requestLibravatar Tony Crisci2018-03-29
| |
| * Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"Libravatar Tony Crisci2018-03-29
| | | | | | | | | | This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0.