aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
* Merge pull request #2441 from RyanDwyer/finish-resize-commandsLibravatar Brian Ashworth2018-08-09
|\ | | | | Finish resize commands
| * Update resize documentationLibravatar Ryan Dwyer2018-08-10
| |
| * Implement resize set <width> <height> for tiled containersLibravatar Ryan Dwyer2018-08-10
| | | | | | | | | | | | Unlike i3, this implementation allows px measurements. Also fixes a sane size check.
| * Implement resize grow|shrink <direction> <amount> for tiled containersLibravatar Ryan Dwyer2018-08-10
|/
* Remove obsolete security sanity checkLibravatar Drew DeVault2018-08-09
|
* Merge pull request #2440 from RedSoxFan/bg-swaynag-reading-onlyLibravatar Drew DeVault2018-08-08
|\ | | | | Don't call swaynag_log for bg when not reading
| * Don't call swaynag_log for bg when not readingLibravatar Brian Ashworth2018-08-08
|/
* Merge pull request #2439 from RedSoxFan/fix-2434Libravatar Drew DeVault2018-08-08
|\ | | | | Allow a fallback color to be specified for swaybg
| * Allow a fallback color to be specified for swaybgLibravatar Brian Ashworth2018-08-08
|/ | | | | | This allows for a color to be set when the wallpaper does not fill the entire output. If specified, the fallback color is also used when the image path is inaccessible.
* Merge pull request #2423 from manio/masterLibravatar Brian Ashworth2018-08-08
|\ | | | | [RFC] Fix segv when sway is terminating
| * Merge branch 'master' into masterLibravatar Brian Ashworth2018-08-08
| |\ | |/ |/|
* | 私の日本語が上手じゃないですねLibravatar Drew DeVault2018-08-08
| |
* | Remove setcap instructionsLibravatar Drew DeVault2018-08-08
| | | | | | | | These are obsolete, we don't require them anymore.
* | Merge pull request #2436 from RyanDwyer/fix-floating-deco-focusLibravatar emersion2018-08-08
|\ \ | | | | | | Fix focus when clicking floating decorations
| * | Don't call send_pointer_notify_button when doing move or resizeLibravatar Ryan Dwyer2018-08-08
| | |
| * | Focus floating views when beginning move/resize operationsLibravatar Ryan Dwyer2018-08-08
| | |
| * | Rename container_at_view to surface_at_view and make it return voidLibravatar Ryan Dwyer2018-08-08
| | |
| * | Fix focus when clicking floating decorationsLibravatar Ryan Dwyer2018-08-08
|/ / | | | | | | | | It's not right for container_at_view to only return the swayc if a surface was clicked.
* | Merge pull request #2420 from RyanDwyer/floating-move-to-workspaceLibravatar Drew DeVault2018-08-08
|\ \ | | | | | | Implement move to workspace on a floating container
| * | Deny moving a sticky container to workspace if it's the same outputLibravatar Ryan Dwyer2018-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Fix edge cases when moving floating container to new workspaceLibravatar Ryan Dwyer2018-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | Implement move to workspace on a floating containerLibravatar Ryan Dwyer2018-08-08
|/ / | | | | | | | | Also adjusts container_floating_translate to not change the current properties directly.
* | Merge pull request #2432 from RyanDwyer/fix-move-crashLibravatar Drew DeVault2018-08-07
|\ \ | | | | | | Fix crash when running `move container to workspace back_and_forth`
| * | Fix crash when running `move container to workspace back_and_forth`Libravatar Ryan Dwyer2018-08-07
| | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #2433 from RyanDwyer/fix-sticky-infinite-loopLibravatar Drew DeVault2018-08-07
|\ \ \ | |/ / |/| | Fix infinite loop when focusing sticky containers via workspace command
| * | Fix infinite loop when focusing sticky containers via workspace commandLibravatar Ryan Dwyer2018-08-07
|/ / | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #2430 from ianyfan/socketpath-leaksLibravatar Drew DeVault2018-08-06
|\ \ | | | | | | Fix memory leaks in get_socketpath
| * | ipc-client: fix memory leaks in get_socketpathLibravatar Ian Fan2018-08-06
|/ /
* | Merge pull request #2428 from RyanDwyer/workspace-move-to-outputLibravatar Brian Ashworth2018-08-06
|\ \ | | | | | | Move workspace moving code out of container_move_to
| * \ Merge branch 'master' into workspace-move-to-outputLibravatar Brian Ashworth2018-08-06
| |\ \ | |/ / |/| |
* | | Merge pull request #2268 from emersion/server-decoration-bordersLibravatar Drew DeVault2018-08-06
|\ \ \ | | | | | | | | Enable borders on floating SSD xdg-shell views
| * | | Handle views created after decoration mode is sent for xdg-shell-v6Libravatar emersion2018-08-06
| | | |
| * | | Handle views created after decoration mode is sent for xdg-shellLibravatar emersion2018-08-06
| | | |
| * | | Listen to server-decoration mode changesLibravatar emersion2018-08-06
| | | |
* | | | Merge pull request #2392 from ianyfan/commandsLibravatar Drew DeVault2018-08-06
|\ \ \ \ | |/ / / |/| | | Fix commands: criteria, layout, move, workspace
| * | | commands: fix workspace edge casesLibravatar Ian Fan2018-08-06
| | | |
| * | | commands: check for special workspaces in workspace & move commandsLibravatar Ian Fan2018-08-06
| | | |
| * | | commands: document <criteria> focusLibravatar Ian Fan2018-08-06
| | | |
| * | | commands: add optional flags to moveLibravatar Ian Fan2018-08-06
| | | |
| * | | commands: complete workspace implementationLibravatar Ian Fan2018-08-06
| | | | | | | | | | | | | | | | Allow optional --no-auto-back-and-forth flag, as well as refactoring some logic
| * | | commands: fix layout implementation (also better name for previous split layout)Libravatar Ian Fan2018-08-06
| | | |
| * | | commands: better type for con_id string lengthLibravatar Ian Fan2018-08-06
| | | |
| * | | commands: complete move implementationLibravatar Ian Fan2018-08-06
| | | |
| * | | commands: complete layout implementationLibravatar Ian Fan2018-08-06
| | | |
| * | | commands: allow __focused__ for con_id criterionLibravatar Ian Fan2018-08-06
| | | |
| * | | commands: allow "first", "last", "newest" and "recent" as values for urgent ↵Libravatar Ian Fan2018-08-06
|/ / / | | | | | | | | | criteria
| * / Move workspace moving code out of container_move_toLibravatar Ryan Dwyer2018-08-07
|/ / | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Fix segv when sway is terminatingLibravatar Mariusz Bialonczyk2018-08-05
|/ | | | | | | | | | | | I've got the following SIGSEGV when terminating sway: ``` Program terminated with signal SIGSEGV, Segmentation fault. 0x00005607dc603af5 in view_unmap (view=0x5607dcb3d350) at ../sway/tree/view.c:599 599 if (surviving_ancestor->type >= C_WORKSPACE) { ``` surviving_ancestor was NULL at that time This commit is trying to fix this problem.
* Merge pull request #2422 from ggreer/compiler-errors1.0-alpha.5Libravatar emersion2018-08-05
|\ | | | | Fix compiler errors.
| * Fix compiler errors.Libravatar Geoff Greer2018-08-05
|/ | | | | | | - 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.