xprops: Make sure that properties that failed to fetch are ignored

This commit is contained in:
Jasper St. Pierre 2015-06-23 11:47:38 -07:00
parent f8cf5e373c
commit 5d360a9bce

View File

@ -1154,7 +1154,10 @@ meta_prop_get_values (MetaDisplay *display,
results.format = 0;
if (!async_get_property_finish (xcb_conn, tasks[i], &results))
goto next;
{
values[i].type = META_PROP_VALUE_INVALID;
goto next;
}
switch (values[i].type)
{