[Xfce4-commits] [apps/xfce4-terminal] 01/01: Focus the terminal after closing Set Title popover

noreply at xfce.org noreply at xfce.org
Sun Aug 6 00:37:37 CEST 2017


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

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit bf341288a257708c9fb67f469c55d99cb796c86c
Author: Igor <f2404 at yandex.ru>
Date:   Sat Aug 5 18:36:14 2017 -0400

    Focus the terminal after closing Set Title popover
    
    Fixes bug #13754
---
 terminal/terminal-window.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index d0938cf..84c6303 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1983,6 +1983,10 @@ title_popover_close (GtkWidget      *popover,
   /* close the dialog */
   gtk_widget_destroy (window->priv->title_popover);
   window->priv->title_popover = NULL;
+
+  /* focus the terminal: bug #13754 */
+  if (G_LIKELY (window->priv->active != NULL))
+    terminal_screen_focus (window->priv->active);
 }
 
 

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


More information about the Xfce4-commits mailing list