[metacity] xrender: remove commented out code



commit 7398dce284aaa925d2e499bbf570df7d8b91bbd1
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Mar 15 15:56:38 2017 +0200

    xrender: remove commented out code

 src/compositor/meta-compositor-xrender.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c
index 4f56268..49a3ae7 100644
--- a/src/compositor/meta-compositor-xrender.c
+++ b/src/compositor/meta-compositor-xrender.c
@@ -1419,16 +1419,6 @@ paint_windows (MetaCompositorXRender *xrender,
       if (!cw->window->mapped)
         continue;
 
-#if 0
-      if ((cw->attrs.x + cw->attrs.width < 1) ||
-          (cw->attrs.y + cw->attrs.height < 1) ||
-          (cw->attrs.x >= screen_width) || (cw->attrs.y >= screen_height))
-        {
-          /* Off screen */
-          continue;
-        }
-#endif
-
       if (cw->picture == None)
         cw->picture = get_window_picture (display, cw);
 
@@ -1456,14 +1446,6 @@ paint_windows (MetaCompositorXRender *xrender,
               XFixesDestroyRegion (xdisplay, cw->client_region);
               cw->client_region = None;
             }
-
-#if 0
-          if (cw->extents)
-            {
-              XFixesDestroyRegion (xdisplay, cw->extents);
-              cw->extents = None;
-            }
-#endif
         }
 
       if (cw->window_region == None)


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