diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2017-10-28 10:45:39 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2017-10-28 10:45:39 -0400 |
| commit | 0954b460515916beb28ea065077975ec4e57ff6b (patch) | |
| tree | 875e33a821e89bd76112f9b2c9887764dc50bd61 | |
| parent | 7f8c1bb5cddc37aaccebbf5ef9f46b2fc7300392 (diff) | |
Merge pull request #1441 from ptMuta/master0.15-rc4
Removed trailing comma from swaybar click event json
| -rw-r--r-- | swaybar/status_line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/status_line.c b/swaybar/status_line.c index cc324fdb..87e90caf 100644 --- a/swaybar/status_line.c +++ b/swaybar/status_line.c @@ -440,7 +440,7 @@ bool status_line_mouse_event(struct bar *bar, int x, int y, uint32_t button) { json_object_object_add(event_json, "x", json_object_new_int(x)); json_object_object_add(event_json, "y", json_object_new_int(y)); - int len = snprintf(event_buff, sizeof(event_buff), "%s,\n", json_object_to_json_string(event_json)); + int len = snprintf(event_buff, sizeof(event_buff), "%s\n", json_object_to_json_string(event_json)); json_object_put(event_json); |
