mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 20:37:38 +00:00
* src/pgtkfns.c: Do not show an empty frame prematurely
Set only the child widgets visible, leave the outer window to pgtk_make_frame_visible .
This commit is contained in:
parent
7d5e94bada
commit
83c35b86da
1 changed files with 7 additions and 2 deletions
|
|
@ -1693,8 +1693,13 @@ This function is an internal primitive--use `make-frame' instead. */ )
|
|||
unblock_input ();
|
||||
}
|
||||
|
||||
if (FRAME_GTK_OUTER_WIDGET (f))
|
||||
gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f));
|
||||
if (FRAME_GTK_OUTER_WIDGET (f)) {
|
||||
GList *w = gtk_container_get_children(GTK_CONTAINER(FRAME_GTK_OUTER_WIDGET (f)));
|
||||
for (; w != NULL; w = w->next)
|
||||
{
|
||||
gtk_widget_show_all (GTK_WIDGET(w->data));
|
||||
}
|
||||
}
|
||||
|
||||
gui_default_parameter (f, parms, Qno_focus_on_map, Qnil,
|
||||
NULL, NULL, RES_TYPE_BOOLEAN);
|
||||
|
|
|
|||
Loading…
Reference in a new issue