aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
AgeCommit message (Collapse)Author
2018-04-07Merge pull request #1756 from emersion/output-damageDrew DeVault
Fine-grained damage tracking
2018-04-07Merge pull request #1700 from swaywm/move-cmd-fullDrew DeVault
Implement move [left|right|up|down]
2018-04-06Revert "Break everything^W^WUse wlr_box for sway_container"Drew DeVault
2018-04-06Break everything^W^WUse wlr_box for sway_containerDrew DeVault
2018-04-06Add debug tree viewDrew DeVault
2018-04-06Simplify damage tracking functions, use them in layer shellemersion
2018-04-06Send surface enter/leave events to view childrenemersion
2018-04-06Implement move [left|right|up|down]Drew DeVault
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))) ```
2018-04-06Fix wl_output enter/leave eventsemersion
Fixes #1739
2018-04-05Remove L_TYPESemersion
2018-04-05Handle unmanaged surfaces motionemersion
2018-04-05Add container_damage_wholeemersion
2018-04-05Handle xwayland configure requests for unmanaged surfacesemersion
2018-04-05Fix xwayland unmanaged surfacesemersion
2018-04-05Track damage of xdg-shell-v6 popupsemersion
2018-04-05Accumulate damage from subsurfacesemersion
2018-04-05Implement shell viewsemersion
2018-04-05Implement resize commandDrew DeVault
2018-04-04Remove unused SWAY_VIEW_TYPESemersion
2018-04-04Remove unused sway_view.unmanaged_linkemersion
2018-04-04Implement opacity commandTony Crisci
2018-04-03move output create to its own fileTony Crisci
2018-04-03move workspace create to workspace.cTony Crisci
2018-04-03fix old todosTony Crisci
2018-04-03clean up container_get_default_layoutTony Crisci
2018-04-03move container_set_layout to layout.hTony Crisci
2018-04-03make container_finish privateTony Crisci
2018-04-03unify workspace create functionsTony Crisci
2018-04-03unify container destroy functionsTony Crisci
2018-04-03move view and workspace destructors to container.cTony Crisci
2018-04-02change reap container approachTony Crisci
2018-04-02fix more close segfaultsTony Crisci
2018-04-02Merge branch 'wlroots' into split-containersTony Crisci
2018-04-02Merge branch 'wlroots' into view-redesignemersion
2018-04-02Xwayland unmanaged views aren't views anymoreemersion
2018-04-02Merge branch 'wlroots' into split-containersTony Crisci
2018-04-02Partially implement move commandDrew DeVault
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
2018-04-02Address review commentsemersion
2018-03-31add docstrings and todosTony Crisci
2018-03-31Add sway_view_implemersion
2018-03-31Introduce common functions to create, map, unmap, destroy viewsemersion
2018-03-31handle container destroy in the seatTony Crisci
2018-03-31basic split containersTony Crisci
2018-03-30Handle map/unmap events in xdg-shell-v6emersion
2018-03-30Add lite damage trackingemersion
This skips the renderer if nothing has changed, and renders everything otherwise.
2018-03-30Merge branch 'wlroots' into wlroots-xwayland-mapTony Crisci
2018-03-30Fix workspace deletion edge casesDrew DeVault
2018-03-30Use the new map/unmap events for xwayland viewsemersion
2018-03-30Destroy empty workspaces when moving awayDrew DeVault
2018-03-29Fix oversights from previous pull requestTony Crisci