package: x2goclient
priority: wishlist
tags: patch
This is a proposal patch in order to enable --close-disconnect option for RDP
sessions in broker mode.
Regards,
Walid Moghrabi
TRAVAUX.COM
BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403
13591 AIX EN PROVENCE CEDEX 3
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary
or legally privileged information. It is for the intended recipient only. If
you have received this email in error, please notify the author by replying to
it and then destroy it. If you are not the intended recipient you must not use,
disclose, distribute, copy, print or rely on this e-mail or any attachment.
Thank you
--- /x2goclient-current/src/onmainwindow.cpp
+++ /x2goclient/src/onmainwindow.cpp
@@ -6230,6 +6230,10 @@
#ifdef Q_OS_LINUX
if (directRDP)
{
+ if (closeDisconnect)
+ {
+ close();
+ }
pass->setText ( "" );
QTimer::singleShot ( 2000,this,
SLOT ( slotShowPassForm() ) );
_______________________________________________
x2go-dev mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-dev