Merge pull request #2962 from matt335672/fix_egfx_disconnect
GFX: Fix disconnect on resize of busy windows
This commit is contained in:
commit
b79a7690fa
@ -4150,11 +4150,13 @@ server_egfx_cmd(struct xrdp_mod *mod,
|
||||
mm = wm->mm;
|
||||
if (mm->encoder == NULL)
|
||||
{
|
||||
// This can happen when we are in the resize state machine, if
|
||||
// there are messages queued up by the X server
|
||||
if (data != NULL)
|
||||
{
|
||||
g_munmap(data, data_bytes);
|
||||
}
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
enc = g_new0(struct xrdp_enc_data, 1);
|
||||
if (enc == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user