* src/pgtkfns.c (Fx_create_frame): Realize frame widgets. (bug#53861)
This commit is contained in:
parent
cdf7e2e021
commit
4592fb4046
1 changed files with 8 additions and 0 deletions
|
@ -1586,6 +1586,14 @@ This function is an internal primitive--use `make-frame' instead. */ )
|
|||
xg_create_frame_widgets (f);
|
||||
pgtk_set_event_handler (f);
|
||||
|
||||
if (FRAME_GTK_OUTER_WIDGET (f))
|
||||
gtk_widget_realize (FRAME_GTK_OUTER_WIDGET (f));
|
||||
|
||||
/* Many callers (including the Lisp functions that call
|
||||
FRAME_SCALE_FACTOR) expect the widget to be realized. */
|
||||
if (FRAME_GTK_WIDGET (f))
|
||||
gtk_widget_realize (FRAME_GTK_WIDGET (f));
|
||||
|
||||
#define INSTALL_CURSOR(FIELD, NAME) \
|
||||
FRAME_X_OUTPUT (f)->FIELD = gdk_cursor_new_for_display (FRAME_X_DISPLAY (f), GDK_ ## NAME)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue