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 3a6b302bddac541f08defb84dcf80feab44b67a8 Author: Igor <f2...@yandex.ru> Date: Mon Oct 17 12:26:28 2016 +0300 Do not grab input for invisible window; fixes show/hide terminal in dropdown mode --- terminal/terminal-window-dropdown.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c index a89e8b4..689f906 100644 --- a/terminal/terminal-window-dropdown.c +++ b/terminal/terminal-window-dropdown.c @@ -425,6 +425,8 @@ terminal_window_dropdown_can_grab (gpointer data) #if GTK_CHECK_VERSION (3, 20, 0) GdkSeat *seat = gdk_display_get_default_seat (gtk_widget_get_display (GTK_WIDGET (data))); + if (!gdk_window_is_visible (window)) + return FALSE; status = gdk_seat_grab (seat, window, GDK_SEAT_CAPABILITY_KEYBOARD, FALSE, NULL, NULL, NULL, NULL); #else status = gdk_keyboard_grab (window, FALSE, GDK_CURRENT_TIME); -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits