summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2012-12-01 14:36:24 -0500
committerTingPing <tingping@tingping.se>2012-12-01 14:36:24 -0500
commitcbb8c88a0ef62a95813093a7c662b45dcdee0e0f (patch)
treec6e0c45fcdcc53fe3d36fb8a0b574e88aadc3c0d /src
parent45607703c258b4abec7b54b6aca7a85c229b9077 (diff)
on exit try hiding last
this fixes the window hiding when the quit dialog pops up
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/maingui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c
index 5b37dbb8..55c73837 100644
--- a/src/fe-gtk/maingui.c
+++ b/src/fe-gtk/maingui.c
@@ -3074,7 +3074,7 @@ mg_tabwindow_de_cb (GtkWidget *widget, GdkEvent *event, gpointer user_data)
 	GSList *list;
 	session *sess;
 
-	if (tray_toggle_visibility (FALSE) && prefs.hex_gui_tray_close && !hextray_mode ())
+	if (prefs.hex_gui_tray_close && !hextray_mode () && tray_toggle_visibility (FALSE))
 		return TRUE;
 
 	/* check for remaining toplevel windows */