mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #152 from nfedera/xwinpropfix
xfreerdp: fix xf_GetWindowProperty
This commit is contained in:
commit
d456606ce5
|
@ -95,6 +95,12 @@ boolean xf_GetWindowProperty(xfInfo* xfi, Window window, Atom property, int leng
|
|||
if (status != Success)
|
||||
return False;
|
||||
|
||||
if (actual_type == None)
|
||||
{
|
||||
DEBUG_WARN("Property %lu does not exist", property);
|
||||
return False;
|
||||
}
|
||||
|
||||
return True;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue