[gtk+/client-side-windows: 255/284] Don't event process updates for foreign windows
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 255/284] Don't event process updates for foreign windows
- Date: Thu, 2 Apr 2009 14:21:30 -0400 (EDT)
commit 96bc993786fbb364c1058263b6f49279ddc90c62
Author: Alexander Larsson <alexl redhat com>
Date: Thu Feb 5 17:02:14 2009 +0100
Don't event process updates for foreign windows
---
gdk/gdkwindow.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 7a5431d..a51e06d 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -4443,8 +4443,7 @@ _gdk_window_process_updates_recurse (GdkWindow *window,
gdk_region_destroy (child_region);
}
- if (!gdk_region_empty (expose_region) &&
- private->window_type != GDK_WINDOW_FOREIGN)
+ if (!gdk_region_empty (expose_region))
{
if (private->event_mask & GDK_EXPOSURE_MASK)
{
@@ -4493,7 +4492,8 @@ gdk_window_process_updates_internal (GdkWindow *window)
GdkRegion *update_area = private->update_area;
private->update_area = NULL;
- if (_gdk_event_func && gdk_window_is_viewable (window))
+ if (_gdk_event_func && gdk_window_is_viewable (window) &&
+ private->window_type != GDK_WINDOW_FOREIGN)
{
GdkRectangle window_rect;
GdkRegion *expose_region;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]