aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
* | 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 pull request #2669 from RyanDwyer/create-output-commandLibravatar Drew DeVault2018-09-19
|\ \ \ \ | |_|/ / |/| | | Introduce create_output command (for developer use)
| * | | Merge branch 'master' into create-output-commandLibravatar emersion2018-09-19
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #2670 from ianyfan/commandsLibravatar Drew DeVault2018-09-19
|\ \ \ \ | | | | | | | | | | config: free strings fields when freeing input config
| * | | | 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.
* | | Merge pull request #2640 from ianyfan/swaybarLibravatar Drew DeVault2018-09-18
|\ \ \ | |_|/ |/| | Overhaul swaybar protocol handling (+fixes)
| * | swaybar: only free tokener when using i3bar protocolLibravatar Ian Fan2018-09-18
| |/
| * swaybar: add debugging statements for handling i3bar jsonLibravatar Ian Fan2018-09-18
| |
| * swaybar: rewrite i3bar protocol handlingLibravatar Ian Fan2018-09-18
| | | | | | | | | | | | | | | | This now correctly handles an incoming json infinite array by shifting most of the heavy listing to the json-c parser, as well as sending multiple statuses at once. It also removes the struct i3bar_protocol_state and moves its members into the status_line struct, allowing the same buffer to be used for both protocols.
| * swaybar: rewrite protocol determinationLibravatar Ian Fan2018-09-18
| | | | | | | | | | | | | | | | This now uses the getline function to receive the header, replacing read_line_buffer, which has been deleted since it is otherwise unused. Furthermore, once the protocol has been determined, the current status is handled immediately to be shown (though this has not been added for the i3bar protocol since it has not yet been rewritten to handle this).
| * swaybar: rewrite text protocol handlingLibravatar Ian Fan2018-09-18
| | | | | | | | | | | | This now uses getline to correctly handle multiple or long statuses. It also removes the struct text_protocol_state and moves its members into the status_line struct.
| * swaybar: only create i3bar block hotspot if click events are enabledLibravatar Ian Fan2018-09-18
| |
| * swaybar: send trailing comma with click event jsonLibravatar Ian Fan2018-09-18
| |
| * swaybar: fix empty function prototypesLibravatar Ian Fan2018-09-18
| |
| * swaybar: invalidate file descriptors upon closingLibravatar Ian Fan2018-09-18
| |
| * swaybar: remove block links upon exitLibravatar Ian Fan2018-09-18
|/
* 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.