| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-12-04 | Add relative coordinates in JSON for i3bar click events | Hristo Venev | -1/+6 | |
| Compatibility with i3 commit 161db6f17d734ac9deb0a20e81b78d4b2a92ce68. | ||||
| 2018-10-18 | swaybar: separate input code to new file | Ian Fan | -29/+1 | |
| 2018-10-02 | swaybar: add leading comma to click event JSON | Ian Fan | -2/+3 | |
| 2018-09-28 | swaybar: move i3bar definitions into separate file | Ian Fan | -0/+2 | |
| 2018-09-21 | swaybar: log invalid i3bar json | Ian Fan | -3/+12 | |
| 2018-09-21 | swaybar: reset tokener if json is incomplete | Ian Fan | -0/+1 | |
| 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. | ||||
| 2018-09-21 | swaybar: update buffer_pos when moving object to start of buffer | Ian Fan | -0/+1 | |
| 2018-09-18 | swaybar: add debugging statements for handling i3bar json | Ian Fan | -0/+16 | |
| 2018-09-18 | swaybar: rewrite i3bar protocol handling | Ian Fan | -78/+111 | |
| 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-18 | swaybar: send trailing comma with click event json | Ian Fan | -1/+1 | |
| 2018-09-14 | bar: remove i3bar_block_free in favour of i3bar_block_unref | Ian Fan | -12/+9 | |
| 2018-09-12 | i3bar: count references to blocks | Ian Fan | -3/+10 | |
| 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 | ||||
| 2018-07-19 | swaybar: Fix scroll handling on workspace buttons | minus | -2/+3 | |
| As well as ignoring scroll events on status elements when click_events is enabled. Previously, using the scroll wheel on a workspace button would switch to that workspace instead of scrolling through them. Clicks and scrolling on status elements would always be processed by swaybar, too. So in case you were using scrolling as volume control on a status item, swaybar would additionally scroll through your workspaces. | ||||
| 2018-07-17 | remove unnecessary parens | Peter Rice | -5/+5 | |
| 2018-07-16 | make hotspot callback take an x11 button id | Peter Rice | -1/+31 | |
| 2018-07-09 | Update for swaywm/wlroots#1126 | emersion | -2/+2 | |
| 2018-04-24 | Fix a bunch of swaybar memory leaks | emersion | -1/+2 | |
| 2018-04-20 | Fix memory leak on swaybar | Bruno Pinto | -0/+1 | |
| Code from @NilsBrause Ref #1820 | ||||
| 2018-04-09 | Fix some more bugs | Drew DeVault | -3/+4 | |
| 2018-04-09 | Fix buffer issues in swaybar status line. | Ryan Dwyer | -0/+3 | |
| 2018-04-03 | Fix #1709 | Drew DeVault | -1/+4 | |
| 2018-04-02 | Fix use-after-free with block hotspots | Drew DeVault | -3/+1 | |
| 2018-04-02 | Send click events for i3bar blocks | Drew DeVault | -0/+22 | |
| 2018-04-02 | Render i3bar blocks | Drew DeVault | -10/+110 | |
| 2018-04-02 | Demarcate i3bar JSON into individual updates | Drew DeVault | -0/+88 | |
