aboutsummaryrefslogtreecommitdiff
path: root/src/gtkutils.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-11-22 09:02:24 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-11-22 09:02:24 +0000
commitb709c90f16a599e12ed745dff3ed371d82f11200 (patch)
tree58b5094541aab8e8909cccf3465f0e415cd7bd2c /src/gtkutils.c
parent3fb54173bbd6497234c8821d804a4002d8c2127a (diff)
win32: fixes window not brought in front with the tray icon click after DnD.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1339 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/gtkutils.c')
-rw-r--r--src/gtkutils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gtkutils.c b/src/gtkutils.c
index bd3eba69..d7c620f7 100644
--- a/src/gtkutils.c
+++ b/src/gtkutils.c
@@ -880,6 +880,10 @@ void gtkut_window_popup(GtkWidget *window)
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(window), FALSE);
gtk_window_present(GTK_WINDOW(window));
+#ifdef G_OS_WIN32
+ /* ensure that the window is displayed at the top */
+ gdk_window_show(window->window);
+#endif
}
gboolean gtkut_window_modal_exist(void)