[connections] rdp-connection: Grab input focus after connecting



commit 458299dea8e3b4679628170f0dbd0884766dda84
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Apr 5 16:41:27 2022 +0200

    rdp-connection: Grab input focus after connecting

 src/rdp-connection.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/rdp-connection.vala b/src/rdp-connection.vala
index 65ee1a7..e8fde6e 100644
--- a/src/rdp-connection.vala
+++ b/src/rdp-connection.vala
@@ -110,6 +110,8 @@ namespace Connections {
             display.open_host (host, port);
             connected = true;
             scaling = true;
+
+            display.grab_focus ();
         }
 
         public override void disconnect_it () {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]