Merge pull request #152 from nfedera/xwinpropfix

xfreerdp: fix xf_GetWindowProperty
This commit is contained in:
Marc-André Moreau 2011-10-17 07:12:40 -07:00
commit d456606ce5
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}