summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2016-08-02Fix segfault in border.c0.9Furkan Sahin-0/+4
2016-08-02Merge pull request #815 from acrisci/bug/focus-container-on-op-changeFurkan Sahin-1/+1
bugfix: focus container on output when focused
2016-08-01bugfix: focus container on output when focusedFurkan Sahin-1/+1
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-varFurkan Sahin-18/+5
Remove dead global locked_view_focus
2016-08-01Remove dead global locked_view_focusFurkan Sahin-18/+5
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-containerFurkan Sahin-34/+52
Implement focus handling for containers
2016-08-01Merge pull request #812 from zandrmartin/floating-fullscreen-size-fixFurkan Sahin-0/+24
cache floating container size when fullscreening
2016-07-31cache floating container size when fullscreeningFurkan Sahin-0/+24
2016-07-31Update view border when workspace is focusedFurkan Sahin-0/+1
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 focusFurkan Sahin-1/+1
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 bordersFurkan Sahin-15/+14
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 containersFurkan Sahin-18/+36
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-31Merge pull request #808 from zandrmartin/document-kill-commandFurkan Sahin-0/+3
document `kill` command
2016-07-31document `kill` commandFurkan Sahin-0/+3
2016-07-31Merge pull request #806 from thejan2009/fix-nested-layoutsFurkan Sahin-0/+1
Update container geometry on layout switch
2016-07-31Update container geometry on layout switchFurkan Sahin-0/+1
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-color0.9-rc3Furkan Sahin-149/+189
implement solid color rendering for swaybg
2016-07-30implement solid color rendering for swaybgFurkan Sahin-149/+189
2016-07-30Merge pull request #803 from zandrmartin/x11-pidsFurkan Sahin-3/+1
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-pidsFurkan Sahin-9/+22
2016-07-30Merge pull request #804 from thejan2009/misc-border-fixFurkan Sahin-9/+22
Misc border fix
2016-07-30revert border hiding to more recent versionFurkan Sahin-6/+2
2016-07-30properly hide top border inside tabbed/stackedFurkan Sahin-3/+20
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) commentFurkan Sahin-2/+0
2016-07-29update handler to get pid from wlc for all viewsFurkan Sahin-1/+1
2016-07-29Fix swaybg sizing on hidpi outputsFurkan Sahin-1/+1
2016-07-29Document scale factor configuration in sway(5)Furkan Sahin-0/+4
2016-07-29Merge remote-tracking branch 'origin/hidpi'0.9-rc2Furkan Sahin-21/+61
2016-07-28Merge pull request #802 from acrisci/feature/timestamp-log-messagesFurkan Sahin-0/+15
Add timestamp to log messages
2016-07-28Add timestamp to log messagesFurkan Sahin-0/+15
2016-07-28Merge pull request #800 from zandrmartin/fix-swaybar-take-3Furkan Sahin-0/+1
third try for #678
2016-07-28third try for #678Furkan Sahin-0/+1
2016-07-28Update IPC JSON responses for HiDPI setupsFurkan Sahin-2/+13
2016-07-28Merge pull request #796 from Hummer12007/ipc_subFurkan Sahin-0/+1
Initialize client's subscribed events
2016-07-28Initialize client's subscribed eventsFurkan Sahin-0/+1
2016-07-28Add commit message guidelines to CONTRIBUTING.mdFurkan Sahin-0/+23
2016-07-28Merge pull request #793 from thejan2009/workspace_layout_first_window_fixFurkan Sahin-1/+3
bugfix: invisible windows on empty workspace with tabbed/stacked layout
2016-07-28Merge pull request #791 from acrisci/feature/focus-child0.9-rc1Furkan Sahin-5/+12
Implement `focus child` command
2016-07-28Merge pull request #792 from ↵Furkan Sahin-1/+3
acrisci/feature/render-focused-stack-children-focused Render focused stack/tab children focused
2016-07-28Merge pull request #794 from thejan2009/close-all-focused-containersFurkan Sahin-2/+2
Close all focused container's child views on cmd_kill
2016-07-28Close all focused container's child views on killFurkan Sahin-2/+2
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-28bugfix: windows on empty workspaces with layout tabbed/stacked would spawn ↵Furkan Sahin-1/+3
with 0x0 geometry
2016-07-27Render focused stack/tab children focusedFurkan Sahin-1/+3
Whenever a stacked or tabbed container has focused, paint the titlebars of all its child windows to be focused as well to indicate the parent stack/tab container has the focus.
2016-07-27Implement `focus child` commandFurkan Sahin-5/+12
The `focus child` command focuses the child container within the selected container.
2016-07-27Merge pull request #790 from acrisci/bug/switch-focus-workspace-outputFurkan Sahin-1/+3
bugfix: set focus to workspace of an output
2016-07-27bugfix: set focus to workspace of an outputFurkan Sahin-1/+3
In `move_focus()`, when given an output, set the focus to the workspace of that output instead of the output itself. This fixes a bug that did not allow users to switch between outputs introduced in c8a89af. It also fixes other issues before that commit when a workspace with children was selected and the user tried to switch focus in the direction of another output.
2016-07-27Merge pull request #789 from acrisci/bug/focus-parent-above-workspaceFurkan Sahin-0/+3
bugfix: cmd focus parent don't set focus above ws
2016-07-27bugfix: cmd focus parent don't set focus above wsFurkan Sahin-0/+3
In the `focus parent` command, do not set focus above the workspace level. These containers are not meant to be focused. This prevents a crash on repeated `focus parent` commands.
2016-07-24Merge pull request #787 from acrisci/bug/ipc-command-result-arrayFurkan Sahin-1/+4
Put ipc command result json in an array
2016-07-23Put ipc command result json in an arrayFurkan Sahin-1/+4
For compatibility with i3, put the command result into an array. Returning multiple command results is still unsupported.