diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2011-08-24 21:34:24 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2011-08-24 21:34:24 -0700 |
commit | 3ada04b8ca6142ecf78a29cb8ada9eec0e7117f4 (patch) | |
tree | c302ffba0f7e62c4b35eec1c1b000a13b65ae71e /sesman/session.c | |
parent | 4c603d985535b44d1a6806fe32e39326fd09d906 (diff) | |
download | xrdp-proprietary-3ada04b8ca6142ecf78a29cb8ada9eec0e7117f4.tar.gz xrdp-proprietary-3ada04b8ca6142ecf78a29cb8ada9eec0e7117f4.zip |
X11rdp needs bpp to match to reconnect / resize
Diffstat (limited to 'sesman/session.c')
-rw-r--r-- | sesman/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sesman/session.c b/sesman/session.c index 8292482c..2960a7f7 100644 --- a/sesman/session.c +++ b/sesman/session.c @@ -79,8 +79,9 @@ session_get_bydata(char* name, int width, int height, int bpp, int type) { if (type == SESMAN_SESSION_TYPE_XRDP) { - /* only name need to match for X11rdp, it can resize */ + /* only name and bpp need to match for X11rdp, it can resize */ if (g_strncmp(name, tmp->item->name, 255) == 0 && + tmp->item->bpp == bpp && tmp->item->type == type) { /*THREAD-FIX release chain lock */ |