diff options
author | Ronan Pigott <[email protected]> | 2019-11-13 11:23:36 -0700 |
---|---|---|
committer | Simon Ser <[email protected]> | 2019-11-29 18:13:37 +0100 |
commit | 6968fb3123e69f563cd01d472967a9e6ddca2ec1 (patch) | |
tree | 0e313d5e19da37762ab572e38c36ff33798f25fb /sway/ipc-json.c | |
parent | 4b579536288108ec09bb8523dea6799228d3d7fa (diff) |
add scale_filter output config option
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r-- | sway/ipc-json.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c index b880eb65..6cf8504a 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c @@ -177,6 +177,9 @@ static void ipc_json_describe_output(struct sway_output *output, json_object_new_string(wlr_output->serial)); json_object_object_add(object, "scale", json_object_new_double(wlr_output->scale)); + json_object_object_add(object, "scale_filter", + json_object_new_string( + sway_output_scale_filter_to_string(output->scale_filter))); json_object_object_add(object, "transform", json_object_new_string( ipc_json_output_transform_description(wlr_output->transform))); |