aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-07Fix crash when running `move container to workspace back_and_forth`Ryan Dwyer
The back_and_forth condition is intended to be handled in the else-if block, but this was never reached because it remained in the first block's conditions.
2018-08-06Merge pull request #2430 from ianyfan/socketpath-leaksDrew DeVault
Fix memory leaks in get_socketpath
2018-08-06ipc-client: fix memory leaks in get_socketpathIan Fan
2018-08-06Merge pull request #2428 from RyanDwyer/workspace-move-to-outputBrian Ashworth
Move workspace moving code out of container_move_to
2018-08-06Merge branch 'master' into workspace-move-to-outputBrian Ashworth
2018-08-06Merge pull request #2268 from emersion/server-decoration-bordersDrew DeVault
Enable borders on floating SSD xdg-shell views
2018-08-06Merge pull request #2392 from ianyfan/commandsDrew DeVault
Fix commands: criteria, layout, move, workspace
2018-08-06Handle views created after decoration mode is sent for xdg-shell-v6emersion
2018-08-06Handle views created after decoration mode is sent for xdg-shellemersion
2018-08-06Listen to server-decoration mode changesemersion
2018-08-07Move workspace moving code out of container_move_toRyan Dwyer
container_move_to handled moving containers to new parents, as well as moving workspaces to new outputs. This commit removes the workspace-moving code from this function and introduces workspace_move_to_output. Moving workspaces using container_move_to only happened from the move command, so it's been implemented as a static function in that file. Simplifying container_move_to makes it easier for me to fix some issues in #2420.
2018-08-06commands: fix workspace edge casesIan Fan
2018-08-06commands: check for special workspaces in workspace & move commandsIan Fan
2018-08-06commands: document <criteria> focusIan Fan
2018-08-06commands: add optional flags to moveIan Fan
2018-08-06commands: complete workspace implementationIan Fan
Allow optional --no-auto-back-and-forth flag, as well as refactoring some logic
2018-08-06commands: fix layout implementation (also better name for previous split layout)Ian Fan
2018-08-06commands: better type for con_id string lengthIan Fan
2018-08-06commands: complete move implementationIan Fan
2018-08-06commands: complete layout implementationIan Fan
2018-08-06commands: allow __focused__ for con_id criterionIan Fan
2018-08-06commands: allow "first", "last", "newest" and "recent" as values for urgent ↵Ian Fan
criteria
2018-08-05Merge pull request #2422 from ggreer/compiler-errorsemersion
Fix compiler errors.
2018-08-05Fix compiler errors.Geoff Greer
- Some platforms don't expose kill() unless _POSIX_C_SOURCE is defined. - fork(), execl(), and setsid() need unistd.h on some platforms. Basically, this fixes some platform-specific build errors.
2018-08-04Merge pull request #2418 from RyanDwyer/separate-rootemersion
Separate root-related code
2018-08-04Move workspace pid code to root.cRyan Dwyer
2018-08-04Separate root-related codeRyan Dwyer
This creates a root.c and moves bits and pieces from elsewhere into it. * layout_init has been renamed to root_create and moved into root.c * root_destroy has been created and is called on shutdown * scratchpad code has been moved into root.c, because hidden scratchpad containers are stored in the root struct
2018-08-04Merge pull request #2419 from RedSoxFan/fix-2416Ryan Dwyer
Check correct ws for sticky and fix floating iter
2018-08-04Merge branch 'master' into fix-2416Ryan Dwyer
2018-08-03Merge pull request #2400 from RedSoxFan/swaynag-config-errorsDrew DeVault
Show swaynag on config errors
2018-08-03Check correct ws for sticky and fix floating iterBrian Ashworth
2018-08-03Remove swaynag_clone and use memcpyBrian Ashworth
2018-08-03Write to swaynag pipe fd directly on config errorsBrian Ashworth
2018-08-03Show swaynag on config errorsBrian Ashworth
2018-08-03Merge pull request #2417 from marienz/swaynag-includesRyan Dwyer
Add missing stdlib.h includes to swaynag
2018-08-03Add missing stdlib.h includes to swaynagMarien Zwart
2018-08-03Merge pull request #2414 from RyanDwyer/fix-inactive-fullscreen-crashemersion
Fix crash when fullscreen view closes on inactive workspace
2018-08-03Merge pull request #2415 from RyanDwyer/fix-fullscreen-container-crashemersion
Fix crash when moving cursor over a fullscreen split container
2018-08-03Merge pull request #2413 from RyanDwyer/dont-move-empty-workspaceemersion
Deny "move container" when an empty workspace is focused
2018-08-03Fix crash when moving cursor over a fullscreen split containerRyan Dwyer
Calling container_at_view fails an assertion if the container isn't a view. Calling tiling_container_at works correctly, as that function checks if the container is a view and calls container_at_view if so.
2018-08-03Fix crash when fullscreen view closes on inactive workspaceRyan Dwyer
When a view unmaps, normally the surviving ancestor (ie. after reaping) needs to be arranged. When a fullscreen view unmaps, it arranges the workspace rather than the surviving ancestor, but didn't handle cases where the workspace itself was reaped. This happens if the workspace is not currently shown and the fullscreen view was the last container on that workspace. This commit rewrites this part of view_unmap so it's more readable, and fixes the crash by not arranging the workspace if it's been reaped. Note that it no longer arranges the output under any circumstance - this wasn't required anyway.
2018-08-03Deny "move container" when an empty workspace is focusedRyan Dwyer
2018-08-02Merge pull request #2408 from ianyfan/exit-nagBrian Ashworth
Change exit binding in default config to nag user, matching i3
2018-08-02Merge branch 'master' into exit-nagBrian Ashworth
2018-08-02Merge pull request #2325 from emersion/wlr-gamma-controlemersion
Enable wlr-gamma-control-unstable-v1
2018-08-02Merge branch 'master' into wlr-gamma-controlemersion
2018-08-03Merge pull request #2411 from emersion/fullscreen-pointer-inputRyan Dwyer
Fix pointer events for fullscreen views
2018-08-02Fix pointer events for fullscreen viewsemersion
2018-08-02Merge pull request #2410 from minus7/fix-fullscreenDrew DeVault
Fix crash on mouse motion on fullscreen container
2018-08-02Fix crash on mouse motion on fullscreen containerminus
container_at expects a workspace, not the fullscreened container. Fixes #2409