Merge pull request #272 from moobyfr/feature-xorgxrdp-allowxrandr

Allow to reconnect with a different size while using the Xorg module
ulab-next-nosound
jsorg71 9 years ago
commit 8a644c6966

@ -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 &&

Loading…
Cancel
Save