xprops: Make sure that properties that failed to fetch are ignored
This commit is contained in:
parent
f8cf5e373c
commit
5d360a9bce
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user