summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-09-21Update stability notice in README1.0-alpha.6Furkan Sahin-4/+4
2018-09-21Merge pull request #2680 from marienz/no-x11-backendFurkan Sahin-1/+7
Fix compilation against wlroots without X11 backend
2018-09-21Fix compilation against wlroots without X11 backendFurkan Sahin-1/+7
2018-09-21Merge pull request #2665 from emersion/render-output-segfaultFurkan Sahin-4/+7
Fix segfault in output_render
2018-09-21Merge branch 'master' into render-output-segfaultFurkan Sahin-214/+295
2018-09-20Merge pull request #2671 from emersion/output-execute-no-focusFurkan Sahin-4/+9
Fix segfault when executing command without focus
2018-09-19Merge pull request #2676 from ianyfan/ipcFurkan Sahin-0/+5
ipc: add pid information for views in layout tree
2018-09-19ipc: add pid information for views in layout treeFurkan Sahin-0/+5
2018-09-19Merge pull request #2669 from RyanDwyer/create-output-commandFurkan Sahin-0/+42
Introduce create_output command (for developer use)
2018-09-19Fix segfault when executing command without focusFurkan Sahin-4/+9
2018-09-19Merge branch 'master' into create-output-commandFurkan Sahin-0/+7
2018-09-19Merge pull request #2670 from ianyfan/commandsFurkan Sahin-0/+7
config: free strings fields when freeing input config
2018-09-19Introduce create_output command (for developer use)Furkan Sahin-0/+42
Should help with testing hotplugging.
2018-09-19config: free strings fields when freeing input configFurkan Sahin-0/+7
2018-09-19Fix segfault in output_renderFurkan Sahin-4/+7
2018-09-18Merge pull request #2640 from ianyfan/swaybarFurkan Sahin-210/+232
Overhaul swaybar protocol handling (+fixes)
2018-09-18swaybar: only free tokener when using i3bar protocolFurkan Sahin-1/+1
2018-09-17Merge pull request #2652 from emersion/swaybar-output-namesFurkan Sahin-30/+78
swaybar: use output names instead of output indexes
2018-09-17swaybar: use output names instead of output indexesFurkan Sahin-30/+78
2018-09-17swaybar: add debugging statements for handling i3bar jsonFurkan Sahin-0/+16
2018-09-17swaybar: rewrite i3bar protocol handlingFurkan Sahin-118/+128
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.
2018-09-17swaybar: rewrite protocol determinationFurkan Sahin-56/+33
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).
2018-09-17swaybar: rewrite text protocol handlingFurkan Sahin-22/+26
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.
2018-09-17swaybar: only create i3bar block hotspot if click events are enabledFurkan Sahin-13/+15
2018-09-17swaybar: send trailing comma with click event jsonFurkan Sahin-1/+1
2018-09-17Merge pull request #2649 from wmww/fix-move-crashFurkan Sahin-1/+1
Fix crash moving out of tab container
2018-09-17Fix crash moving out of tab containerFurkan Sahin-1/+1
2018-09-16Merge pull request #2637 from RyanDwyer/fix-tabbed-workspace-shenanigansFurkan Sahin-17/+26
Make seat_get_active_child ignore floating children
2018-09-16Merge pull request #2641 from marienz/inhibit-crashFurkan Sahin-1/+1
Fix crash when an idle-inhibiting client exits
2018-09-16Fix crash when destroying an idle-inhibiting clientFurkan Sahin-1/+1
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.
2018-09-16Rename seat_get_active_child to seat_get_active_tiling_childFurkan Sahin-15/+16
Also renames container to con in one function to prevent ugly line wrapping.
2018-09-16swaybar: fix empty function prototypesFurkan Sahin-4/+4
2018-09-16Merge pull request #2638 from RyanDwyer/fix-tab-unmap-crashFurkan Sahin-0/+3
Fix crash when unmapping last child of a tabbed workspace
2018-09-16Fix crash when unmapping last child of a tabbed workspaceFurkan Sahin-0/+3
* 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.
2018-09-16Make seat_get_active_child ignore floating childrenFurkan Sahin-2/+10
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
2018-09-15Merge pull request #2634 from ianyfan/ipcFurkan Sahin-4/+21
ipc: add focus information to root node
2018-09-15swaybar: invalidate file descriptors upon closingFurkan Sahin-4/+15
2018-09-15swaybar: remove block links upon exitFurkan Sahin-1/+3
2018-09-15ipc: handle NULL cases for node_get_outputFurkan Sahin-3/+8
2018-09-14Merge pull request #2630 from emersion/wlroots-1243Furkan Sahin-35/+35
Update for swaywm/wlroots#1243
2018-09-14Merge branch 'master' into wlroots-1243Furkan Sahin-1/+1
2018-09-14Additional fix for xdg-outputFurkan Sahin-1/+1
2018-09-14Merge branch 'master' into wlroots-1243Furkan Sahin-17/+34
2018-09-14Postfix xdg-output headersFurkan Sahin-1/+1
"Doesn't need an update" my ass...
2018-09-15ipc: add focus information to root nodeFurkan Sahin-2/+14
2018-09-14Merge pull request #2633 from ianyfan/view-recon-fixFurkan Sahin-2/+0
Remove redundant container creation in view initialisation
2018-09-15Remove redundant container creation in view initializationFurkan Sahin-2/+0
2018-09-14Merge pull request #2631 from ianyfan/swaybarFurkan Sahin-12/+9
bar: remove i3bar_block_free in favour of i3bar_block_unref
2018-09-14bar: remove i3bar_block_free in favour of i3bar_block_unrefFurkan Sahin-12/+9
2018-09-14Merge pull request #2629 from RedSoxFan/fix-654Furkan Sahin-2/+24
Allow spaces in background file path