[X2Go-Commits] [x2goclient] 01/01: src/onmainwindow.cpp: revert old behavior and select user name field after a session has been suspended/terminated if user name was not provided.

git-admin at x2go.org git-admin at x2go.org
Wed Jun 7 02:34:10 CEST 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit c8b1991dd893e716fcb18169a0c1e7299c9a92b4
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Jun 6 22:03:06 2017 +0200

    src/onmainwindow.cpp: revert old behavior and select user name field after a session has been suspended/terminated if user name was not provided.
    
    Do not insert an user name, though, but leave it to autodetection by
    default.
---
 debian/changelog     | 4 ++++
 src/onmainwindow.cpp | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cf4afd0..07f0ed8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -149,6 +149,10 @@ x2goclient (4.1.0.1-0x2go1) UNRELEASED; urgency=medium
       current system user if empty. Unbreaks default user name fetching via
       libssh. Might break some use cases (especially RDP, XDMCP).
     - src/x2goclient.cpp: revert change bypassing the UNIX cleanup helper.
+    - src/onmainwindow.cpp: revert old behavior and select user name field
+      after a session has been suspended/terminated if user name was not
+      provided. Do not insert an user name, though, but leave it to
+      autodetection by default.
 
   [ Oleksandr Shneyder ]
   * New upstream version (4.1.0.1):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 3921a74..4829c6e 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -6508,6 +6508,12 @@ void ONMainWindow::slotShowPassForm()
         pass->setFocus();
         pass->selectAll();
     }
+    else
+    {
+        login->setFocus();
+        login->selectAll();
+    }
+
 
     if ( !embedMode )
     {

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list