aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
* Merge pull request #2652 from emersion/swaybar-output-namesLibravatar Brian Ashworth2018-09-17
|\ | | | | swaybar: use output names instead of output indexes
| * swaybar: use output names instead of output indexesLibravatar emersion2018-09-17
|/
* Merge pull request #2649 from wmww/fix-move-crashLibravatar emersion2018-09-17
|\ | | | | Fix crash moving out of tab container
| * Fix crash moving out of tab containerLibravatar William Wold2018-09-17
|/
* Merge pull request #2637 from RyanDwyer/fix-tabbed-workspace-shenanigansLibravatar Drew DeVault2018-09-16
|\ | | | | Make seat_get_active_child ignore floating children
| * Rename seat_get_active_child to seat_get_active_tiling_childLibravatar Ryan Dwyer2018-09-16
| | | | | | | | | | Also renames container to con in one function to prevent ugly line wrapping.
| * Make seat_get_active_child ignore floating childrenLibravatar Ryan Dwyer2018-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | seat_get_active_child is used to get the active tiling child in a few places, such as outputs getting their active workspace and tabbed/stacked containers getting their visible child. When a workspace uses a tabbed or stacked layout and contains a focused floating view, calling seat_get_active_child on the workspace would incorrectly return the floating view. This changes it so it will return the tiling child. This fixes the following bug: * Create layout T[view view] then float one of the views * Attempt to click the tiling view to give it focus - it wouldn't work because seat_get_active_child would return the floating view
* | Merge pull request #2641 from marienz/inhibit-crashLibravatar Drew DeVault2018-09-16
|\ \ | |/ |/| Fix crash when an idle-inhibiting client exits
| * Fix crash when destroying an idle-inhibiting clientLibravatar Marien Zwart2018-09-16
|/ | | | | | When destroying an idle-inhibiting client, idle_inhibit_v1_check_active can get called from transaction_progress_queue on a view with a null container. view_is_visible does not handle a view in this state.
* Merge pull request #2638 from RyanDwyer/fix-tab-unmap-crashLibravatar emersion2018-09-16
|\ | | | | Fix crash when unmapping last child of a tabbed workspace
| * Fix crash when unmapping last child of a tabbed workspaceLibravatar Ryan Dwyer2018-09-16
|/ | | | | | | | | | | | | | * Create layout T[view view] * Move the cursor into the title bar area * Close both views Sway would crash because container_at_tabbed would attempt to divide by zero when there are no children. The children check isn't needed for the stacked function because it doesn't divide anything by the number of children. Fixes #2636.
* Merge pull request #2634 from ianyfan/ipcLibravatar Drew DeVault2018-09-15
|\ | | | | ipc: add focus information to root node
| * ipc: handle NULL cases for node_get_outputLibravatar Ian Fan2018-09-15
| |
| * ipc: add focus information to root nodeLibravatar Ian Fan2018-09-15
|/
* Merge pull request #2630 from emersion/wlroots-1243Libravatar Drew DeVault2018-09-14
|\ | | | | Update for swaywm/wlroots#1243
| * Merge branch 'master' into wlroots-1243Libravatar Drew DeVault2018-09-14
| |\ | |/ |/|
* | Additional fix for xdg-outputLibravatar Drew DeVault2018-09-14
| |
| * Merge branch 'master' into wlroots-1243Libravatar Drew DeVault2018-09-14
| |\ | |/ |/|
* | Postfix xdg-output headersLibravatar Drew DeVault2018-09-14
| | | | | | | | "Doesn't need an update" my ass...
* | Merge pull request #2633 from ianyfan/view-recon-fixLibravatar Drew DeVault2018-09-14
|\ \ | | | | | | Remove redundant container creation in view initialisation
| * | Remove redundant container creation in view initializationLibravatar Ian Fan2018-09-15
|/ /
* | Merge pull request #2631 from ianyfan/swaybarLibravatar emersion2018-09-14
|\ \ | | | | | | bar: remove i3bar_block_free in favour of i3bar_block_unref
| * | bar: remove i3bar_block_free in favour of i3bar_block_unrefLibravatar Ian Fan2018-09-14
|/ /
* | Merge pull request #2629 from RedSoxFan/fix-654Libravatar Drew DeVault2018-09-14
|\ \ | | | | | | Allow spaces in background file path
| * | Address ianyfan's commentsLibravatar Brian Ashworth2018-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wordexp p is now initialized to {0} to prevent a segfault on wordfree in the failure case. File paths with single quotes and double quotes are now supported. The quote can either be wrapped in the other quote or escaped with three backslashes. Additionally to make passing file paths with double quotes to swaybg easier, instead of enclosing the path given to swaybg in quotes, all spaces, single quotes, and double quotes in the resulting path are now escaped with a single backslash.
| * | Escape spaces in background file pathLibravatar Brian Ashworth2018-09-13
| | |
| * | Allow spaces in background file pathsLibravatar Brian Ashworth2018-09-13
|/ /
| * Update for swaywm/wlroots#1243Libravatar emersion2018-09-14
|/
* Merge pull request #2628 from RyanDwyer/remove-rejigger-assertionLibravatar emersion2018-09-13
|\ | | | | Remove bad assertion in workspace_rejigger
| * Remove bad assertion in workspace_rejiggerLibravatar Ryan Dwyer2018-09-13
|/ | | | | | | | The assertion can be (rightfully) triggered by creating layout V[H[view view] view] and moving the top right view to the right. After removing the assertion I found the container being moved needs its size reset to prevent it from being sized wrongly after arranging.
* Merge pull request #2622 from ianyfan/i3bar-block-refLibravatar Drew DeVault2018-09-12
|\ | | | | i3bar: count references to blocks
| * i3bar: count references to blocksLibravatar Ian Fan2018-09-12
|/ | | | | | | | | This prevents blocks from being destroyed before their hotspots are destroyed, in case it is used for a pending click event that fires between the bar receiving a new status, which destroys the block, and the bar rendering the new status, which destroys the hotspot; this problem can be easily produced by scrolling on a block that immediately causes a new status to be sent, with multiple outputs
* Merge pull request #2620 from ianyfan/commandsLibravatar emersion2018-09-12
|\ | | | | commands: when moving a container, restore focus properly
| * commands: when moving container, remove its gapsLibravatar Ian Fan2018-09-11
| |
| * commands: when moving container, restore focus properlyLibravatar Ian Fan2018-09-11
| |
* | Merge pull request #2624 from RedSoxFan/update-tex-in-cmd-clientLibravatar Drew DeVault2018-09-11
|\ \ | | | | | | Update textures for cmd_client_* commands
| * | Update textures for cmd_client_* commandsLibravatar Brian Ashworth2018-09-11
| | | | | | | | | | | | | | | | | | Since the `client.{focused,focused_inactive,unfocused,urgent}` commands change colors, the textures need to be updated otherwise the textures and the rest of the title bar may utilize different colors.
* | | Merge pull request #2621 from emersion/fix-unmap-segfaultLibravatar Drew DeVault2018-09-11
|\ \ \ | |/ / |/| | Don't use handler_context in view_unmap
| * | Don't use handler_context in view_unmapLibravatar emersion2018-09-11
| |/
* | Merge pull request #2618 from RyanDwyer/tiling-dragLibravatar Drew DeVault2018-09-11
|\ \ | |/ |/| Implement tiling drag
| * Minor fixes to tiling drag implementationLibravatar Ryan Dwyer2018-09-12
| | | | | | | | | | | | | | | | * Make container_add_sibling's `after` argument a boolean. * Use a constant for drop layout border * Make thickness an int * Add button state check * Move comments in seat_end_move_tiling
| * Fix crash in workspace_wrap_childrenLibravatar Ryan Dwyer2018-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When workspace_wrap_children is called on a workspace which has a fullscreen child and the fullscreen child is a direct child of the workspace, sway would crash. The workspace's fullscreen pointer is unset when the fullscreen container is detached and applied again when added to a parent, but in this case the parent hadn't yet been added to the workspace which meant con->workspace was NULL. The fix makes container_handle_fullscreen_reparent return if there's no workspace, and the fullscreen pointer is reapplied in workspace_wrap_children.
| * Fix line lengthLibravatar Ryan Dwyer2018-09-11
| |
| * Fix dropzone box on scaled outputsLibravatar Ryan Dwyer2018-09-11
| |
| * Implement tiling dragLibravatar Ryan Dwyer2018-09-11
| | | | | | | | Hold floating_modifier and drag a tiling view to a new location.
| * Introduce tiling_drag directiveLibravatar Ryan Dwyer2018-09-11
| |
| * Rename OP_MOVE to OP_MOVE_FLOATINGLibravatar Ryan Dwyer2018-09-11
|/ | | | In preparation for introducing OP_MOVE_TILING.
* Merge pull request #2617 from wmww/cursor-enter-on-focus-changeLibravatar Drew DeVault2018-09-10
|\ | | | | Give windows pointer focus immediately
| * Minor fixLibravatar William Wold2018-09-10
| |
| * Minor fixLibravatar William Wold2018-09-10
| |