[gtk+/client-side-windows: 187/284] Don't look for EXPOSE mask set to disable bg none setting



commit fe6f46c5895734a0a0ccf3a4b94bcef4873f040a
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Jan 27 14:51:21 2009 +0100

    Don't look for EXPOSE mask set to disable bg none setting
    
    We always set EXPOSE in the client-side-windows world, so this
    doesn't make sense anymore.
---
 gdk/x11/gdkwindow-x11.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 5acd690..0557d53 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -220,13 +220,6 @@ tmp_unset_bg (GdkWindow *window)
   obj = (GdkWindowObject *) window;
   impl = GDK_WINDOW_IMPL_X11 (obj->impl);
 
-  /* For windows without EXPOSURE_MASK, we can't do this
-   * unsetting because such windows depend on the drawing
-   * that the X server is going to do
-   */
-  if (!(obj->event_mask & GDK_EXPOSURE_MASK))
-    return;
-    
   impl->no_bg = TRUE;
 
   if (obj->bg_pixmap != GDK_NO_BG)
@@ -243,9 +236,6 @@ tmp_reset_bg (GdkWindow *window)
   obj = (GdkWindowObject *) window;
   impl = GDK_WINDOW_IMPL_X11 (obj->impl);
 
-  if (!(obj->event_mask & GDK_EXPOSURE_MASK))
-    return;
-    
   impl->no_bg = FALSE;
 
   if (obj->bg_pixmap == GDK_NO_BG)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]