diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 90e16d7bd8..1b89f682f5 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -471,6 +471,7 @@ gdk_event_copy (const GdkEvent *event) break; case GDK_EXPOSE: + case GDK_DAMAGE: if (event->expose.region) new_event->expose.region = gdk_region_copy (event->expose.region); break; @@ -548,6 +549,7 @@ gdk_event_free (GdkEvent *event) break; case GDK_EXPOSE: + case GDK_DAMAGE: if (event->expose.region) gdk_region_destroy (event->expose.region); break;