[gtk+/client-side-windows: 37/284] Don't draw on input_only windows
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 37/284] Don't draw on input_only windows
- Date: Thu, 2 Apr 2009 14:02:49 -0400 (EDT)
commit a9ca08f6eb41b2faf28f5c747ebda710410aa078
Author: Alexander Larsson <alexl redhat com>
Date: Mon Dec 8 12:34:04 2008 +0100
Don't draw on input_only windows
---
gdk/gdkwindow.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 2e8abaf..bb6aecd 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -5302,7 +5302,7 @@ gdk_window_move_resize_internal (GdkWindow *window,
{
if (GDK_WINDOW_IS_MAPPED (window))
{
- expose = TRUE;
+ expose = !private->input_only;
old_region = gdk_region_copy (private->clip_region);
/* Adjust region to parent window coords */
gdk_region_offset (old_region, private->x, private->y);
@@ -5314,7 +5314,7 @@ gdk_window_move_resize_internal (GdkWindow *window,
{
if (GDK_WINDOW_IS_MAPPED (window))
{
- expose = TRUE;
+ expose = !private->input_only;
old_region = gdk_region_copy (private->clip_region);
/* Adjust region to parent window coords */
gdk_region_offset (old_region, private->x, private->y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]