From 64cd2df20d7ad4f6812bb63396361b3f674c9cbd Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Wed, 8 Nov 2017 09:05:16 +0100 Subject: [PATCH] Let the user cancel FreeRDP authentication and dismiss the dialog window If the user hits the cancel button of the FreeRDP authentication dialog, it is dismissed and then created again in an endless loop. --- plugins/rdp/vinagre-rdp-tab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rdp/vinagre-rdp-tab.c b/plugins/rdp/vinagre-rdp-tab.c index b731f9b..5b98c24 100644 --- a/plugins/rdp/vinagre-rdp-tab.c +++ b/plugins/rdp/vinagre-rdp-tab.c @@ -1218,7 +1218,7 @@ open_freerdp (VinagreRdpTab *rdp_tab) init_freerdp (rdp_tab); } } - while (!success && authentication_errors < 3); + while (!success && !cancelled && authentication_errors < 3); if (!success) { -- 2.17.1