show notebook->event_window with gdk_window_show_unraised(), so it doesn't

2001-11-19  Michael Natterer  <mitch@gimp.org>

	* gtk/gtknotebook.c: show notebook->event_window with
	gdk_window_show_unraised(), so it doesn't catch the events which
	should go to the tab widgets first.
This commit is contained in:
Michael Natterer
2001-11-19 22:04:24 +00:00
committed by Michael Natterer
parent 94a097ef5d
commit 2268abe48f
8 changed files with 44 additions and 2 deletions

View File

@ -823,7 +823,7 @@ gtk_notebook_map (GtkWidget *widget)
}
if (gtk_notebook_get_event_window_position (notebook, NULL))
gdk_window_show (notebook->event_window);
gdk_window_show_unraised (notebook->event_window);
}
static void
@ -3809,7 +3809,7 @@ gtk_notebook_insert_page_menu (GtkNotebook *notebook,
notebook);
if (notebook->show_tabs && GTK_WIDGET_MAPPED (notebook))
gdk_window_show (notebook->event_window);
gdk_window_show_unraised (notebook->event_window);
gtk_widget_child_notify (child, "tab_expand");
gtk_widget_child_notify (child, "tab_fill");