mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 06:04:10 +00:00
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;
|
results.format = 0;
|
||||||
|
|
||||||
if (!async_get_property_finish (xcb_conn, tasks[i], &results))
|
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)
|
switch (values[i].type)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user