summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@gimp.org>2001-11-19 22:04:24 +0000
committerMichael Natterer <mitch@src.gnome.org>2001-11-19 22:04:24 +0000
commit2268abe48fd5fbfaa25f9468e3843ac1e84d9c89 (patch)
treed129ba41b329cfbff16dfe4e3494c04b68479ecb /gtk/gtknotebook.c
parent94a097ef5d8aa475fdb38b1cdade87e72d068d8d (diff)
downloadgdk-pixbuf-2268abe48fd5fbfaa25f9468e3843ac1e84d9c89.tar.gz
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.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 2c97fff6b..498a52856 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -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");