aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
AgeCommit message (Collapse)Author
2016-08-07Fix container move when workspace is focusedD.B
Fixes #819. If workspace is focused and command 'move container to workspace/output' is issued, workspace child containers are wrapped in a new container and moved according to command.
2016-08-04Fix 'workspace back_and_forth' and workspace_auto_back_and_forth clashD.B
When workspace_auto_back_and_forth is enabled, workspaces get switched twice with previously mentioned command, which is not the expected behavior. Removes one redundant creation of previous workspace.
2016-08-01Merge pull request #811 from acrisci/feature/focus-containerDrew DeVault
Implement focus handling for containers
2016-07-31cache floating container size when fullscreeningZandr Martin
2016-07-31Refactor functions to update container bordersTony Crisci
Replace `update_view_border()` with `update_container_border()`. The latter should handle both the case where the container is a view or if the container has children.
2016-07-31Update container geometry on layout switchD.B
Deeply nested containers which had their layouts changed didn't update their actual_geometry, this messed up their child containers. Those got width and height of 0, which was then decreased for stacked/tabbed containers by title height. Underflow ensued, these containers suddenly had height 4294967273. In short, not updating actual_geometry didn't play nicely with nested containers.
2016-07-30implement solid color rendering for swaybgZandr Martin
2016-07-28Update hidpi support to latest wlc APIDrew DeVault
2016-07-28Initial pass on HiDPI supportDrew DeVault
2016-07-28Merge pull request #791 from acrisci/feature/focus-childDrew DeVault
Implement `focus child` command
2016-07-28Close all focused container's child views on killD.B
Previously, cmd_kill only closed a focused view, while containers were not affected. Now it closes all views that are children of the focused container.
2016-07-27Implement `focus child` commandTony Crisci
The `focus child` command focuses the child container within the selected container.
2016-07-23Put ipc command result json in an arrayTony Crisci
For compatibility with i3, put the command result into an array. Returning multiple command results is still unsupported.
2016-07-21Initial work on window eventsMykyta Holubakha
2016-07-17Add missing entry to list of accepted arguments for the move commandDavid Eklov
2016-07-17Do not crash when handling the command 'move position'David Eklov
Sway expected 'move position' to be 'move position mouse'. If mouse is not present in the command, Sway crashes.
2016-07-17Implement configurable wrapping on bar ws scrollDrew DeVault
2016-07-16refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use ↵D.B
where needed
2016-07-07Fix tabbed/stacked corner case #742D.B
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.
2016-07-03resize command updates (#713)Zandr Martin
2016-07-03match i3 syntax for `resize set`Zandr Martin
2016-06-19Minor fix to warning messagesDrew DeVault
2016-06-11implement resize command for absolute dimensionsZandr Martin
2016-06-11cleanup + add timeouts for pid_workspace listZandr Martin
2016-06-11Merge branch 'master' into assign-commandZandr Martin
2016-06-10trigger bg change on config reloadZandr Martin
2016-06-06messy, unfinished versionZandr Martin
2016-06-05Merge branch 'master' into variables_corner_casesDenis Doria
2016-06-04add documentation for client commandsZandr Martin
2016-06-03Put w to uppercase just to keep consistency between warningsDenis Doria
2016-06-03Includes $ for variables without itDenis Doria
2016-06-03Fix identation issuethuck
2016-06-03Fix output command when varible not setthuck
This should fix the corner case where a variable is not assigned, but used anyway. This should solve partially the issue #681.
2016-06-02Including error message when variable do not start with $thuck
2016-06-02Initial implementation for floating_maximum_sizeDenis Doria
2016-06-01Included option floating_minimum_sizeDenis Doria
Values cannot be negative or 0; if so uses the default 75x50. Uses the same syntax as i3: floating_minimum_size <width> x <height>, although the x can be anything.
2016-05-29Remove bar position left:right from docsDrew DeVault
And adds a warning about using them (currently these are not supported by swaybar).
2016-05-28enforce workspace output assignentsZandr Martin
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
2016-05-28remove alphabetic sorting from sort_workspacesZandr Martin
also add a couple missing spaces to container.c (unrelated)
2016-05-23Concatenate output cmd args, fixes #654Mykyta Holubakha
2016-05-14Support floating_scroll sidewaysMykyta Holubakha
2016-05-09Prevent changing layout when focusing float windowMikkel Oscar Lyderik
The layout command should only work with titled windows, thus it should have no effect when a floating window has focus. Should fix #643
2016-05-08Allow to set relative path for wallpapers in configMykyta Holubakha
2016-05-08Remove FSB_GAPS_INNER and FSB_GAPS_OUTERMykyta Holubakha
2016-05-07Implemented configurable floating scroll behaviorMykyta Holubakha
2016-05-02fix a typo (horiziontal -> horizontal)Raman Varabets
2016-05-01sway: fix potential buffer overflowEric Engestrom
2016-05-01Add input cmd for setting pointer accel profile.Jasen Borisov
2016-04-29sway/commands.c: add some free calls to release allocated memoryDaniel Lockyer
2016-04-29Fix oversight in ebdce71Drew DeVault