aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Use pango_layout_set_text instead of pango_layout_set_markupLibravatar Ryan Dwyer2018-09-22
|
* Fix pango escaping and refactor escape_markup_textLibravatar Ryan Dwyer2018-09-22
| | | | | | | | | | | | | | Fixes #2674. The cause of the issue was in get_pango_layout. When we call pango_parse_markup, `text` is the escaped string, and the unescaped string is then computed and written to `buf`. We were then passing the unescaped string to pango_layout_set_markup, but this function needs the escaped string. `buf` is not needed and has been removed. The other part of this PR refactors escape_markup_text to remove the dest_length argument and removes the -1 return value on error. It now assumes that you've allocated dest to the correct length.
* Merge pull request #2678 from RyanDwyer/reconfigure-on-repositionLibravatar emersion2018-09-22
|\ | | | | Reconfigure xwayland views when repositioned
| * Reconfigure xwayland views when repositionedLibravatar Ryan Dwyer2018-09-21
| | | | | | | | Fixes #2673.
* | Merge pull request #2666 from emersion/swaybar-hotplugLibravatar Brian Ashworth2018-09-21
|\ \ | | | | | | swaybar: handle hotplugging
| * \ Merge branch 'master' into swaybar-hotplugLibravatar Brian Ashworth2018-09-21
| |\ \ | |/ / |/| |
* | | Merge pull request #2672 from ianyfan/swaybarLibravatar Drew DeVault2018-09-21
|\ \ \ | | | | | | | | swaybar: fix parsing errors when json is sent in parts
| * | | swaybar: log invalid i3bar jsonLibravatar Ian Fan2018-09-21
| | | |
| * | | swaybar: reset tokener if json is incompleteLibravatar Ian Fan2018-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the tokener parses incomplete json, it sets its error value to json_tokener_continue. This means that extra json should be provided, but the code was providing the entire object again. In the interest of simplicity, the tokener is reset so that buffer_pos always points to the start of the current object.
| * | | swaybar: update buffer_pos when moving object to start of bufferLibravatar Ian Fan2018-09-21
| | |/ | |/|
* | | Merge pull request #2683 from ammgws/patch-1Libravatar Drew DeVault2018-09-21
|\ \ \ | |/ / |/| | stabilityに関する注記を更新
| * | stabilityに関する注記を更新Libravatar Jason2018-09-21
|/ /
* | Update stability notice in README1.0-alpha.6Libravatar Drew DeVault2018-09-21
| |
* | Merge pull request #2680 from marienz/no-x11-backendLibravatar emersion2018-09-21
|\ \ | | | | | | Fix compilation against wlroots without X11 backend
| * | Fix compilation against wlroots without X11 backendLibravatar Marien Zwart2018-09-21
|/ /
* | Merge pull request #2665 from emersion/render-output-segfaultLibravatar Ryan Dwyer2018-09-21
|\ \ | | | | | | Fix segfault in output_render
| * \ Merge branch 'master' into render-output-segfaultLibravatar Ryan Dwyer2018-09-21
| |\ \ | |/ / |/| |
| * | Fix segfault in output_renderLibravatar emersion2018-09-19
| | |
| | * swaybar: don't wl_display_roundtrip on each frameLibravatar emersion2018-09-20
| | | | | | | | | | | | | | | | | | | | | This was the source of numerous bugs, from hotplug events not being received to segfaults because wl_display_roundtrip was making the bar process unplug events while blocking in an iteration over all outputs.
| | * swaybar: handle hotpluggingLibravatar emersion2018-09-20
| |/ |/| | | | | Don't kill and respawn swaybars on hotplug.
* | 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