diff options
| author | Ryan Dwyer <[email protected]> | 2018-07-16 13:15:35 +1000 | 
|---|---|---|
| committer | Ryan Dwyer <[email protected]> | 2018-07-16 13:15:35 +1000 | 
| commit | 5f0a4bb6a46cf359dd270e3c448ca1e112331f9d (patch) | |
| tree | b6f9df379c05b5a1bda6010c9e3bab5ef8f9dfb0 /sway/ipc-json.c | |
| parent | 560627437b536db490d7e4a3c6fb4282757a7327 (diff) | |
Update workspace urgent state when views close or move workspaces
Diffstat (limited to 'sway/ipc-json.c')
| -rw-r--r-- | sway/ipc-json.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/sway/ipc-json.c b/sway/ipc-json.c index f8de51ed..dbab8e68 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c @@ -171,7 +171,7 @@ static void ipc_json_describe_workspace(struct sway_container *workspace,  			json_object_new_string(workspace->parent->name) : NULL);  	json_object_object_add(object, "type", json_object_new_string("workspace"));  	json_object_object_add(object, "urgent", -			json_object_new_boolean(workspace_is_urgent(workspace))); +			json_object_new_boolean(workspace->sway_workspace->urgent));  	json_object_object_add(object, "representation", workspace->formatted_title ?  			json_object_new_string(workspace->formatted_title) : NULL); | 
