]> Pileus Git - ~andy/gtk/commitdiff
Don't map the event window if the notebook isn't mapped. (#113980, Richard
authorOwen Taylor <otaylor@redhat.com>
Mon, 2 Jun 2003 23:05:45 +0000 (23:05 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 2 Jun 2003 23:05:45 +0000 (23:05 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtknotebook.c

index 335d5bde1e802c99bd84b939fe7b2da266adc344..9ddb1cb9cc8cf515beb4d84c19f47d222b6fea05 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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)
+
 2003-06-02  Sven Neumann  <sven@gimp.org>
 
        * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
index 335d5bde1e802c99bd84b939fe7b2da266adc344..9ddb1cb9cc8cf515beb4d84c19f47d222b6fea05 100644 (file)
@@ -1,3 +1,9 @@
+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)
+
 2003-06-02  Sven Neumann  <sven@gimp.org>
 
        * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
index 335d5bde1e802c99bd84b939fe7b2da266adc344..9ddb1cb9cc8cf515beb4d84c19f47d222b6fea05 100644 (file)
@@ -1,3 +1,9 @@
+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)
+
 2003-06-02  Sven Neumann  <sven@gimp.org>
 
        * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
index 335d5bde1e802c99bd84b939fe7b2da266adc344..9ddb1cb9cc8cf515beb4d84c19f47d222b6fea05 100644 (file)
@@ -1,3 +1,9 @@
+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)
+
 2003-06-02  Sven Neumann  <sven@gimp.org>
 
        * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
index 335d5bde1e802c99bd84b939fe7b2da266adc344..9ddb1cb9cc8cf515beb4d84c19f47d222b6fea05 100644 (file)
@@ -1,3 +1,9 @@
+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)
+
 2003-06-02  Sven Neumann  <sven@gimp.org>
 
        * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
index b0d9af43e50d9b8c4530125747e63b2cbb62075e..92c9b6d970e10c4d8e5c3583d3a89860e33c6c3b 100644 (file)
@@ -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);