Remove unneccesary exposure mask check.

2007-03-10  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.

svn path=/trunk/; revision=17460
This commit is contained in:
Richard Hult 2007-03-10 20:57:13 +00:00 committed by Richard Hult
parent 5c477d1f12
commit 5b14b85c3a
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2007-03-10 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
2007-03-10 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set

View File

@ -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);
}