fix RAIL abort when reconnect
Signed-off-by: 2fly2 <wjatchd@163.com>
This commit is contained in:
parent
8a06ed9299
commit
8f831ed324
@ -1159,6 +1159,12 @@ xfAppWindow* xf_AppWindowFromX11Window(xfContext* xfc, Window wnd)
|
||||
int count;
|
||||
ULONG_PTR* pKeys = NULL;
|
||||
xfAppWindow* appWindow;
|
||||
|
||||
if(NULL == xfc->railWindows)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
count = HashTable_GetKeys(xfc->railWindows, &pKeys);
|
||||
|
||||
for (index = 0; index < count; index++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user