aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
2016-09-05Make it possible to move views between outputsMikkel Oscar Lyderik
This patch makes it possible to move views between outputs using the `move left|right|up|down` commands. It behaves similar to i3 with one important difference. The focus will always follow the view being moved, unlike i3 where the focus doesn't always follow the view to a new output (I assume that's a bug in i3).
2016-09-05Fix constant scale factor in font codeDrew DeVault
2016-09-05Add support for * input configsDrew DeVault
Closes #852
2016-09-02merge in latest commitsZandr Martin
2016-09-02Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactorZandr Martin
2016-09-01refactor commands.cZandr Martin
2016-09-02Correct `hide_edge_borders` commandLukas Lihotzki
`vertical` and `horizontal` should be swapped. If border_left and border_right were set to 0, the vertical borders instead of the horizontal borders would be hidden. i3 handles this command equally.
2016-09-01Tweak how swaylock surfaces are handledDrew DeVault
Fixes #875
2016-09-01Reorganize includesDrew DeVault
2016-08-31document `orientation` commandZandr Martin
2016-08-22Fix a format stringHummer12007
2016-08-20Avoid dereferencing null configurationJames Murphy
Fixes: https://github.com/SirCmpwn/sway/issues/865
2016-08-18Add input example section to configGötz Christ
Also improve sway-input(5) description to be more consistent with sway-bar(5).
2016-08-12Update man pageGuillaume Brogi
The man page mentioned that "indicator" wasn't implemented, this isn't the case anymore.
2016-08-12Rerender after every split commandGuillaume Brogi
2016-08-11Add support for indicator colorGuillaume Brogi
2016-08-10Handle output disabling during runtimeD.B
Output now gets disabled if disable command is invoked via bindsym or IPC.
2016-08-09document all xkb settings handled by wlcManuel Mendez
2016-08-07Merge pull request #843 from thejan2009/bug/move-container-819Drew DeVault
Fix container move when workspace is focused
2016-08-07Sort workspaces when moving workspace to outputD.B
This should fix #839
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-07Display class in tab title if app_id is nullD.B
This is a feature that can't work the same as i3, because there is no real window classes in wayland. This way, we avoid null titles as much as possible.
2016-08-05Merge pull request #840 from minus7/man-inputsDrew DeVault
added get_inputs hint to man 5 sway-input
2016-08-05added get_inputs hint to man 5 sway-inputminus
2016-08-05Fix switch to prev ws on handle_view_createdD.B
Switching back to original workspace should be done only if workspace was switched while appending new view.
2016-08-04ipc: log sending of eventsTony Crisci
Log the sending of the events in the debug log. This makes ipc server events easier to verify.
2016-08-04ipc: recursive workspace containers in eventTony Crisci
Recursively describe workspace containers in the workspace event. This is for compatability with i3 and i3ipc libraries.
2016-08-04ipc: always include nodes in viewsTony Crisci
This is for i3 (and i3ipc library) compatability.
2016-08-05Arrange windows after swapping containersMykyta Holubakha
Fixes #833
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-03Simplify focus settingTony Crisci
Merge the main rendering paths of all containers to make focus setting a bit simpler and easier to follow.
2016-08-03Use uintptr_t for ipc container idTony Crisci
This is for compatability with i3.
2016-08-02fixed uninitialized bar.wrap_scrollminus
2016-08-02remove unmanaged nodes from get_treeZandr Martin
2016-08-02Fix segfault in border.cDrew DeVault
2016-08-01bugfix: focus container on output when focusedTony Crisci
Focus the container on the output (not the output itself) when an output is focused. This is intended to fix a bug where borders are not updated correctly when switching the vt away/back to sway.
2016-08-01Remove dead global locked_view_focusTony Crisci
The value of `locked_view_focus` is always false. Remove dead code associated with this variable to simplify things.
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-31Update view border when workspace is focusedTony Crisci
When a workspace is focused, update the borders of all its child containers to be focused to indicate the workspace container is focused.
2016-07-31Bugfix: descend focus stack on new window focusTony Crisci
When switching back to a workspace after new window creation, it is now necessary to descend the focus stack into the focused container of the workspace to determine which container should get the focus. This is because the `set_focused_container()` function no longer automatically descends into the focus stack to find the correct view to focus.
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-31Implement focus handling for containersTony Crisci
The previous implementation of focus handling assumed that only views can be focused. Containers can also be focused with a command like `focus parent` or `focus child`. Change `set_focused_container()` to handle the case of the given container being a container with children and update borders accordingly.
2016-07-31document `kill` commandZandr Martin
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-30Merge branch 'master' of git://github.com/SirCmpwn/sway into x11-pidsZandr Martin
2016-07-30revert border hiding to more recent versionD.B
2016-07-30properly hide top border inside tabbed/stackedD.B
When titlebar is hidden, top border of the topmost view inside tabbed/stacked container will not be drawn. This is changed in layout.c On the other hand, top border should be drawn sometimes, for example when titlebar is hidden on a view that is not the topmost inside tabbed/stacked container. This is changed in border.c
2016-07-29remove outdated (when wlc commit merged) commentZandr Martin