aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-04ipc: always include nodes in viewsTony Crisci
This is for i3 (and i3ipc library) compatability.
2016-08-04Merge pull request #834 from Hummer12007/swapfixDrew DeVault
Arrange windows after swapping containers
2016-08-05Arrange windows after swapping containersMykyta Holubakha
Fixes #833
2016-08-04Merge pull request #832 from thejan2009/bug/workspace-back-and-forthDrew DeVault
Fix 'workspace back_and_forth' and workspace_auto_back_and_forth clash
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-04Merge pull request #831 from progandy/fix_colorsDrew DeVault
common: use strtoul in parse_color to avoid clamp
2016-08-04common: use strtoul in parse_color to avoid clampprogandy
Some implementations of strtol may clamp the values to LONG_MAX instead of wrapping around to negative values, so use strtoul instead to parse colors.
2016-08-04Merge pull request #830 from acrisci/feature/simplify-set-focusDrew DeVault
Simplify focus setting
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-03Merge pull request #827 from acrisci/bug/ipc-id-uintDrew DeVault
Use uintptr_t for ipc container id
2016-08-03Use uintptr_t for ipc container idTony Crisci
This is for compatability with i3.
2016-08-03Merge pull request #822 from mayhewj/add-resize-to-configDrew DeVault
Add resize mode to the default config file
2016-08-03Add resize mode to configJustin Mayhew
These are the default keybindings in i3.
2016-08-02Don't repeat direction keys in configJustin Mayhew
I really didn't want to have to repeat the direction keys again for resize mode, and this makes it easier to change all of the relevant keybindings if you don't like the defaults (or prefer i3's).
2016-08-02Merge pull request #820 from minus7/bar-wrap-scroll-fixDrew DeVault
fixed uninitialized bar.wrap_scroll
2016-08-02fixed uninitialized bar.wrap_scrollminus
2016-08-02Merge pull request #817 from zandrmartin/fix-unmanaged-node-jsonDrew DeVault
remove unmanaged nodes from get_tree
2016-08-02Merge pull request #810 from acrisci/feature/swaymsg-prettyDrew DeVault
swaymsg: pretty print ipc response
2016-08-02remove unmanaged nodes from get_treeZandr Martin
2016-08-02Update README.md screenshotDrew DeVault
2016-08-02Fix segfault in border.cDrew DeVault
2016-08-02Merge pull request #815 from acrisci/bug/focus-container-on-op-changeDrew DeVault
bugfix: focus container on output when focused
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-01Merge pull request #813 from acrisci/bug/remove-dead-lock-varDrew DeVault
Remove dead global locked_view_focus
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-08-01Merge pull request #812 from zandrmartin/floating-fullscreen-size-fixDrew DeVault
cache floating container size when fullscreening
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-31swaymsg: pretty print ipc responseTony Crisci
fixes #809
2016-07-31Merge pull request #808 from zandrmartin/document-kill-commandDrew DeVault
document `kill` command
2016-07-31document `kill` commandZandr Martin
2016-07-31Merge pull request #806 from thejan2009/fix-nested-layoutsDrew DeVault
Update container geometry on layout switch
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-30Merge pull request #805 from zandrmartin/swaybg-solid-colorDrew DeVault
implement solid color rendering for swaybg
2016-07-30implement solid color rendering for swaybgZandr Martin
2016-07-30Merge pull request #803 from zandrmartin/x11-pidsDrew DeVault
update handler to get pid from wlc for all views - now ok to merge
2016-07-30Merge branch 'master' of git://github.com/SirCmpwn/sway into x11-pidsZandr Martin
2016-07-30Merge pull request #804 from thejan2009/misc-border-fixDrew DeVault
Misc border fix
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
2016-07-29update handler to get pid from wlc for all viewsZandr Martin
2016-07-29Fix swaybg sizing on hidpi outputsDrew DeVault
2016-07-29Document scale factor configuration in sway(5)Drew DeVault
2016-07-29Merge remote-tracking branch 'origin/hidpi'Drew DeVault
2016-07-28Merge pull request #802 from acrisci/feature/timestamp-log-messagesDrew DeVault
Add timestamp to log messages