[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix input focus lost issue after exiting a console app

noreply at xfce.org noreply at xfce.org
Wed Aug 17 17:57:16 CEST 2016


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

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 8b8c10afbdf0f4454edfa2594baa228665f6ed40
Author: Igor <f2404 at yandex.ru>
Date:   Wed Aug 17 18:57:11 2016 +0300

    Fix input focus lost issue after exiting a console app
---
 terminal/terminal-screen.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index aae9f88..2d1d4ac 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -1806,6 +1806,7 @@ terminal_screen_force_resize_window (TerminalScreen *screen,
   glong          char_width;
   glong          char_height;
 
+
   terminal_return_if_fail (TERMINAL_IS_SCREEN (screen));
   terminal_return_if_fail (VTE_IS_TERMINAL (screen->terminal));
   terminal_return_if_fail (GTK_IS_WINDOW (window));
@@ -1839,7 +1840,7 @@ terminal_screen_force_resize_window (TerminalScreen *screen,
   else
     gtk_window_set_default_size (window, width, height);
 
-  gtk_widget_grab_focus (screen->terminal);
+  gtk_widget_grab_focus (screen);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list