From 12092e809840f1d0ad106f7171b197248ef4c351 Mon Sep 17 00:00:00 2001 From: Blindauer Emmanuel Date: Wed, 19 Aug 2015 07:42:00 +0200 Subject: [PATCH] Allow to reconnect with a different size while using the Xorg module --- sesman/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sesman/session.c b/sesman/session.c index 5185d738..fdd0c4fe 100644 --- a/sesman/session.c +++ b/sesman/session.c @@ -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 &&