Don't map the event window if the notebook isn't mapped. (#113980, Richard
Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't map the event window if the notebook isn't mapped. (#113980, Richard Reich)
This commit is contained in:
@ -1380,7 +1380,8 @@ gtk_notebook_size_allocate (GtkWidget *widget,
|
||||
gdk_window_move_resize (notebook->event_window,
|
||||
position.x, position.y,
|
||||
position.width, position.height);
|
||||
gdk_window_show_unraised (notebook->event_window);
|
||||
if (GTK_WIDGET_MAPPED (notebook))
|
||||
gdk_window_show_unraised (notebook->event_window);
|
||||
}
|
||||
else
|
||||
gdk_window_hide (notebook->event_window);
|
||||
|
||||
Reference in New Issue
Block a user