From: Jan Djärv Date: Thu, 7 Feb 2008 14:07:55 +0000 (+0000) Subject: (xg_create_frame_widgets): If frame is embedded, call X-Git-Tag: emacs-pretest-23.0.90~8109 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f0d223bea95377311262049f6ee6aebb82cc3bf;p=emacs.git (xg_create_frame_widgets): If frame is embedded, call gtk_plug_new. --- 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) BLOCK_INPUT; - wtop = gtk_window_new (GTK_WINDOW_TOPLEVEL); + if (FRAME_X_EMBEDDED_P (f)) + wtop = gtk_plug_new (f->output_data.x->parent_desc); + else + wtop = gtk_window_new (GTK_WINDOW_TOPLEVEL); + xg_set_screen (wtop, f); wvbox = gtk_vbox_new (FALSE, 0);