aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gtkutil.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 487e24dfa8a..d3a0c7e7596 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -786,7 +786,11 @@ xg_create_frame_widgets (f)
786 786
787 BLOCK_INPUT; 787 BLOCK_INPUT;
788 788
789 wtop = gtk_window_new (GTK_WINDOW_TOPLEVEL); 789 if (FRAME_X_EMBEDDED_P (f))
790 wtop = gtk_plug_new (f->output_data.x->parent_desc);
791 else
792 wtop = gtk_window_new (GTK_WINDOW_TOPLEVEL);
793
790 xg_set_screen (wtop, f); 794 xg_set_screen (wtop, f);
791 795
792 wvbox = gtk_vbox_new (FALSE, 0); 796 wvbox = gtk_vbox_new (FALSE, 0);