[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix hiding of dropdown terminal
noreply at xfce.org
noreply at xfce.org
Tue Oct 4 15:09:44 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 7e32c03baa3d274eeeadbe5396393f6a687d3a8e
Author: Igor <f2404 at yandex.ru>
Date: Tue Oct 4 16:09:39 2016 +0300
Fix hiding of dropdown terminal
---
terminal/terminal-window-dropdown.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c
index 58085f1..926e5d9 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -815,6 +815,7 @@ terminal_window_dropdown_toggle_real (TerminalWindowDropdown *dropdown,
/* if the focus was lost for 0.1 second and toggle-focus is used, we had
* focus until the shortcut was pressed, and then we hide the window */
if (!toggle_focus
+ || dropdown->focus_out_time == 0
|| (g_get_real_time () - dropdown->focus_out_time) < G_USEC_PER_SEC / 10)
{
/* hide */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list