Allow to reconnect with a different size while using the Xorg module

This commit is contained in:
Blindauer Emmanuel 2015-08-19 07:42:00 +02:00
parent 4430119d40
commit 12092e8098
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ session_get_bydata(char *name, int width, int height, int bpp, int type, char *c
tmp->item->client_ip);
#endif
if (type == SESMAN_SESSION_TYPE_XRDP)
if ((type == SESMAN_SESSION_TYPE_XRDP) || (type == SESMAN_SESSION_TYPE_XORG))
{
/* only name and bpp need to match for X11rdp, it can resize */
if (g_strncmp(name, tmp->item->name, 255) == 0 &&