summaryrefslogtreecommitdiffstats
path: root/sway
Commit message (Collapse)AuthorAge
* Fix compilation against wlroots without X11 backendLibravatar Marien Zwart2018-09-21
|
* Merge branch 'master' into render-output-segfaultLibravatar Ryan Dwyer2018-09-21
|\
| * Merge pull request #2671 from emersion/output-execute-no-focusLibravatar emersion2018-09-20
| |\ | | | | | | Fix segfault when executing command without focus
| | * Fix segfault when executing command without focusLibravatar emersion2018-09-19
| | |
| * | Merge pull request #2676 from ianyfan/ipcLibravatar Drew DeVault2018-09-19
| |\ \ | | | | | | | | ipc: add pid information for views in layout tree
| | * | ipc: add pid information for views in layout treeLibravatar Ian Fan2018-09-19
| | | |
| * | | Merge branch 'master' into create-output-commandLibravatar emersion2018-09-19
| |\ \ \ | | | |/ | | |/|
| | * | config: free strings fields when freeing input configLibravatar Ian Fan2018-09-19
| | |/
| * / Introduce create_output command (for developer use)Libravatar Ryan Dwyer2018-09-19
| |/ | | | | | | Should help with testing hotplugging.
* / Fix segfault in output_renderLibravatar emersion2018-09-19
|/
* 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
* | 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.
* 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.
* ipc: handle NULL cases for node_get_outputLibravatar Ian Fan2018-09-15
|
* ipc: add focus information to root nodeLibravatar Ian Fan2018-09-15
|
* 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...
| * Remove redundant container creation in view initializationLibravatar Ian Fan2018-09-15
| |
| * 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
|/
* 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 #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
| |/
* | 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.
* Minor fixLibravatar William Wold2018-09-10
|
* Minor fixLibravatar William Wold2018-09-10
|
* Prevent stacked layout from crashingLibravatar William Wold2018-09-10
|
* Give windows pointer focus immediately when they are switched toLibravatar William Wold2018-09-10
| | | | | | Fixes #2401 (aka #2558) Previously, when switching windows, pointer focus was not changed until the pointer was moved. This makes the pointer enter happen immediately, without the side effects of other attempted fixes.
* Merge pull request #2613 from apreiml/fix_no_last_focus_failLibravatar emersion2018-09-10
|\ | | | | handle_layer_shell_surface: Do not crash if seat doesn't have focus
| * handle_layer_shell_surface: Do not crash if seat doesn't have focusLibravatar Armin Preiml2018-09-10
| |
* | commands: prevent running empty seat commandLibravatar Ian Fan2018-09-08
|/
* Merge pull request #2530 from apreiml/ipc_missing_get_treeLibravatar Drew DeVault2018-09-08
|\ | | | | start adding missing ipc properties