kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=d1f00956aaf529f705a3582aa4df3010e42f5214

commit d1f00956aaf529f705a3582aa4df3010e42f5214
Author: Kim Woelders <[email protected]>
Date:   Mon Apr 21 18:14:24 2014 +0200

    Remove ancient unused code.
---
 src/backgrounds.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/src/backgrounds.c b/src/backgrounds.c
index 51d835f..e9c7f5c 100644
--- a/src/backgrounds.c
+++ b/src/backgrounds.c
@@ -615,22 +615,6 @@ BackgroundRealize(Background * bg, Win win, Drawable draw, 
unsigned int rw,
        pmap = BackgroundCreatePixmap(win, w, h);
        EImageRenderOnDrawable(bg->bg.im, win, pmap, EIMAGE_ANTI_ALIAS,
                               0, 0, w, h);
-
-#if 0                          /* FIXME - Remove? */
-       if (x == 0 && y == 0)   /* Hmmm. Always true. */
-         {
-            ESetWindowBackgroundPixmap(draw, pmap, 1);
-         }
-       else
-         {
-            gc = EXCreateGC(draw, 0, NULL);
-            XSetTile(disp, gc, pmap);
-            XSetTSOrigin(disp, gc, x, y);
-            XSetFillStyle(disp, gc, FillTiled);
-            XFillRectangle(disp, draw, gc, 0, 0, rw, rh);
-            EXFreeGC(gc);
-         }
-#endif
        goto done;
      }
 

-- 


Reply via email to