i3bar: properly handle the _XEMBED_INFO property

This commit is contained in:
Michael Stapelberg
2011-08-17 00:05:05 +02:00
parent 7df43989c9
commit 737cd10bdf
7 changed files with 129 additions and 18 deletions

View File

@ -29,7 +29,7 @@ struct workspaces_json_params {
* Parse a boolean value (visible, focused, urgent)
*
*/
static int workspaces_boolean_cb(void *params_, bool val) {
static int workspaces_boolean_cb(void *params_, int val) {
struct workspaces_json_params *params = (struct workspaces_json_params*) params_;
if (!strcmp(params->cur_key, "visible")) {