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



commit da32d539d838fa40aa8f5eecb83e5d0ab05e5f42
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]