mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fix issue with newly added pointer support for remote apps.
Reset current window when window is destroyed
This commit is contained in:
@@ -626,6 +626,9 @@ void xf_DestroyWindow(xfInfo* xfi, xfWindow* window)
|
||||
if (window == NULL)
|
||||
return;
|
||||
|
||||
if (xfi->window == window)
|
||||
xfi->window = NULL;
|
||||
|
||||
if (window->gc)
|
||||
XFreeGC(xfi->display, window->gc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user