From 5b14b85c3a5b9af065f56538d6fee8e19f707799 Mon Sep 17 00:00:00 2001 From: Richard Hult Date: Sat, 10 Mar 2007 20:57:13 +0000 Subject: [PATCH] Remove unneccesary exposure mask check. 2007-03-10 Richard Hult * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check. svn path=/trunk/; revision=17460 --- ChangeLog | 4 ++++ gdk/quartz/GdkQuartzView.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5736d5e1f6..bc38fa0ca8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-03-10 Richard Hult + + * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check. + 2007-03-10 Richard Hult * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set diff --git a/gdk/quartz/GdkQuartzView.c b/gdk/quartz/GdkQuartzView.c index cc0cd858f4..500c0b53be 100644 --- a/gdk/quartz/GdkQuartzView.c +++ b/gdk/quartz/GdkQuartzView.c @@ -80,7 +80,7 @@ gdk_region_union_with_rect (region, &gdk_rect); } - if (!gdk_region_empty (region) && private->event_mask & GDK_EXPOSURE_MASK) + if (!gdk_region_empty (region)) { GdkEvent event; @@ -96,11 +96,11 @@ event.expose.region = region; event.expose.area = gdk_rect; - impl->in_paint_rect_count ++; + impl->in_paint_rect_count++; (*_gdk_event_func) (&event, _gdk_event_data); - impl->in_paint_rect_count --; + impl->in_paint_rect_count--; g_object_unref (gdk_window); }