aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/gtk20/Makefile1
-rw-r--r--x11-toolkits/gtk20/files/patch-gtk_gtkwidget.c12
-rw-r--r--x11-toolkits/gtk30/Makefile1
-rw-r--r--x11-toolkits/gtk30/files/patch-gtk_gtkwidget.c12
4 files changed, 26 insertions, 0 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index a608a77edcc0..454d1df0acec 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gtk
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.2,} \
ftp://ftp.gtk.org/pub/gtk/v2.0/ \
diff --git a/x11-toolkits/gtk20/files/patch-gtk_gtkwidget.c b/x11-toolkits/gtk20/files/patch-gtk_gtkwidget.c
new file mode 100644
index 000000000000..43203977a68a
--- /dev/null
+++ b/x11-toolkits/gtk20/files/patch-gtk_gtkwidget.c
@@ -0,0 +1,12 @@
+--- gtk/gtkwidget.c.orig Thu Aug 14 17:51:56 2003
++++ gtk/gtkwidget.c Thu Aug 14 17:52:52 2003
+@@ -3041,6 +3041,9 @@
+ static gboolean
+ event_window_is_still_viewable (GdkEvent *event)
+ {
++ if (GDK_IS_PIXMAP (event->any.window))
++ return event->type == GDK_EXPOSE;
++
+ /* Check that we think the event's window is viewable before
+ * delivering the event, to prevent suprises. We do this here
+ * at the last moment, since the event may have been queued
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index a608a77edcc0..454d1df0acec 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gtk
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.2,} \
ftp://ftp.gtk.org/pub/gtk/v2.0/ \
diff --git a/x11-toolkits/gtk30/files/patch-gtk_gtkwidget.c b/x11-toolkits/gtk30/files/patch-gtk_gtkwidget.c
new file mode 100644
index 000000000000..43203977a68a
--- /dev/null
+++ b/x11-toolkits/gtk30/files/patch-gtk_gtkwidget.c
@@ -0,0 +1,12 @@
+--- gtk/gtkwidget.c.orig Thu Aug 14 17:51:56 2003
++++ gtk/gtkwidget.c Thu Aug 14 17:52:52 2003
+@@ -3041,6 +3041,9 @@
+ static gboolean
+ event_window_is_still_viewable (GdkEvent *event)
+ {
++ if (GDK_IS_PIXMAP (event->any.window))
++ return event->type == GDK_EXPOSE;
++
+ /* Check that we think the event's window is viewable before
+ * delivering the event, to prevent suprises. We do this here
+ * at the last moment, since the event may have been queued