Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-08 | Focus floating views when beginning move/resize operations | Ryan Dwyer | |
2018-08-08 | Rename container_at_view to surface_at_view and make it return void | Ryan Dwyer | |
2018-08-08 | Fix focus when clicking floating decorations | Ryan Dwyer | |
It's not right for container_at_view to only return the swayc if a surface was clicked. | |||
2018-08-08 | Merge pull request #2420 from RyanDwyer/floating-move-to-workspace | Drew DeVault | |
Implement move to workspace on a floating container | |||
2018-08-08 | Deny moving a sticky container to workspace if it's the same output | Ryan Dwyer | |
Rationale: Sticky containers are always assigned to the visible workspace. The basic idea here is to check the destination's output (move.c:190). But if the command was `move container to workspace x` then a workspace might have been created for it. We could destroy the workspace in this case, but that results in unnecessary IPC events. To avoid this, the logic for `move container to workspace x` has been adjusted. It now delays creating the workspace until the end, and uses `workspace_get_initial_output` to determine and check the output before creating it. | |||
2018-08-08 | Fix edge cases when moving floating container to new workspace | Ryan Dwyer | |
* Removes container_floating_move_to_container, instead opting to put that logic in container_move_to * In the seat code, focusing a floating view now updates the pending state only and lets the next transaction carry it over to the current state. This is required, otherwise it would crash. * When unfullscreening a floating container, an output check is now done to see if it should center it. | |||
2018-08-08 | Implement move to workspace on a floating container | Ryan Dwyer | |
Also adjusts container_floating_translate to not change the current properties directly. | |||
2018-08-07 | Merge pull request #2432 from RyanDwyer/fix-move-crash | Drew DeVault | |
Fix crash when running `move container to workspace back_and_forth` | |||
2018-08-07 | Merge pull request #2433 from RyanDwyer/fix-sticky-infinite-loop | Drew DeVault | |
Fix infinite loop when focusing sticky containers via workspace command | |||
2018-08-07 | Fix infinite loop when focusing sticky containers via workspace command | Ryan Dwyer | |
In a multi-output setup, if a sticky container is on one output and focus is on the other output, and you run (eg) `workspace 1` to focus the workspace containing the sticky container, an infinite loop would occur. It would loop infinitely because it would remove the sticky container from the workspace, add it back to the same workspace, and then decrement the iterator variable. The fix just wraps the loop in a workspace comparison. | |||
2018-08-07 | Fix 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-06 | Merge pull request #2430 from ianyfan/socketpath-leaks | Drew DeVault | |
Fix memory leaks in get_socketpath | |||
2018-08-06 | ipc-client: fix memory leaks in get_socketpath | Ian Fan | |
2018-08-06 | Merge pull request #2428 from RyanDwyer/workspace-move-to-output | Brian Ashworth | |
Move workspace moving code out of container_move_to | |||
2018-08-06 | Merge branch 'master' into workspace-move-to-output | Brian Ashworth | |
2018-08-06 | Merge pull request #2268 from emersion/server-decoration-borders | Drew DeVault | |
Enable borders on floating SSD xdg-shell views | |||
2018-08-06 | Merge pull request #2392 from ianyfan/commands | Drew DeVault | |
Fix commands: criteria, layout, move, workspace | |||
2018-08-06 | Handle views created after decoration mode is sent for xdg-shell-v6 | emersion | |
2018-08-06 | Handle views created after decoration mode is sent for xdg-shell | emersion | |
2018-08-06 | Listen to server-decoration mode changes | emersion | |
2018-08-07 | Move workspace moving code out of container_move_to | Ryan 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-06 | commands: fix workspace edge cases | Ian Fan | |
2018-08-06 | commands: check for special workspaces in workspace & move commands | Ian Fan | |
2018-08-06 | commands: document <criteria> focus | Ian Fan | |
2018-08-06 | commands: add optional flags to move | Ian Fan | |
2018-08-06 | commands: complete workspace implementation | Ian Fan | |
Allow optional --no-auto-back-and-forth flag, as well as refactoring some logic | |||
2018-08-06 | commands: fix layout implementation (also better name for previous split layout) | Ian Fan | |
2018-08-06 | commands: better type for con_id string length | Ian Fan | |
2018-08-06 | commands: complete move implementation | Ian Fan | |
2018-08-06 | commands: complete layout implementation | Ian Fan | |
2018-08-06 | commands: allow __focused__ for con_id criterion | Ian Fan | |
2018-08-06 | commands: allow "first", "last", "newest" and "recent" as values for urgent ↵ | Ian Fan | |
criteria | |||
2018-08-05 | Merge pull request #2422 from ggreer/compiler-errors | emersion | |
Fix compiler errors. | |||
2018-08-05 | Fix 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-04 | Merge pull request #2418 from RyanDwyer/separate-root | emersion | |
Separate root-related code | |||
2018-08-04 | Move workspace pid code to root.c | Ryan Dwyer | |
2018-08-04 | Separate root-related code | Ryan 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-04 | Merge pull request #2419 from RedSoxFan/fix-2416 | Ryan Dwyer | |
Check correct ws for sticky and fix floating iter | |||
2018-08-04 | Merge branch 'master' into fix-2416 | Ryan Dwyer | |
2018-08-03 | Merge pull request #2400 from RedSoxFan/swaynag-config-errors | Drew DeVault | |
Show swaynag on config errors | |||
2018-08-03 | Check correct ws for sticky and fix floating iter | Brian Ashworth | |
2018-08-03 | Remove swaynag_clone and use memcpy | Brian Ashworth | |
2018-08-03 | Write to swaynag pipe fd directly on config errors | Brian Ashworth | |
2018-08-03 | Show swaynag on config errors | Brian Ashworth | |
2018-08-03 | Merge pull request #2417 from marienz/swaynag-includes | Ryan Dwyer | |
Add missing stdlib.h includes to swaynag | |||
2018-08-03 | Add missing stdlib.h includes to swaynag | Marien Zwart | |
2018-08-03 | Merge pull request #2414 from RyanDwyer/fix-inactive-fullscreen-crash | emersion | |
Fix crash when fullscreen view closes on inactive workspace | |||
2018-08-03 | Merge pull request #2415 from RyanDwyer/fix-fullscreen-container-crash | emersion | |
Fix crash when moving cursor over a fullscreen split container | |||
2018-08-03 | Merge pull request #2413 from RyanDwyer/dont-move-empty-workspace | emersion | |
Deny "move container" when an empty workspace is focused | |||
2018-08-03 | Fix crash when moving cursor over a fullscreen split container | Ryan 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. |