aboutsummaryrefslogtreecommitdiff
path: root/src/manage_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manage_window.c')
-rw-r--r--src/manage_window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/manage_window.c b/src/manage_window.c
index f50f50b0..5b618e6f 100644
--- a/src/manage_window.c
+++ b/src/manage_window.c
@@ -84,8 +84,11 @@ void manage_window_set_transient(GtkWindow *window)
/* debug_print("manage_window_set_transient(): window = %p, focus_window = %p\n",
window, focus_window); */
- if (window && focus_window)
+ if (window && focus_window) {
+ if (!gtk_window_is_active(GTK_WINDOW(focus_window)))
+ gtkut_window_popup(focus_window);
gtk_window_set_transient_for(window, GTK_WINDOW(focus_window));
+ }
}
GtkWidget *manage_window_get_focus_window(void)