kwo pushed a commit to branch master.

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

commit bbec00eb12f0f59493f52336e39ae736ceab0186
Author: Kim Woelders <k...@woelders.dk>
Date:   Tue Apr 27 14:42:31 2021 +0200

    FX: Remove "correct bugs" operation in waves
    
    Not sure what was intended. The operation specifies a source area
    outside the pixmap.
---
 src/fx.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/fx.c b/src/fx.c
index 3ac59d3a..573443dc 100644
--- a/src/fx.c
+++ b/src/fx.c
@@ -176,7 +176,6 @@ FX_Ripple_Ops(int op)
 #define FX_WAVE_WATERH 64
 #define FX_WAVE_WATERW 64
 #define FX_WAVE_DEPTH  10
-#define FX_WAVE_GRABH  (FX_WAVE_WATERH + FX_WAVE_DEPTH)
 #define FX_WAVE_CROSSPERIOD 0.42f
 
 typedef struct {
@@ -234,15 +233,6 @@ FX_Wave_timeout(EObj * eo __UNUSED__, int run __UNUSED__, 
void *state)
    if (d->incx > M_2PI_F)
       d->incx = 0;
 
-   SET_GC_CLIP(bgeo, d->gc1);
-
-   /* Copy the area to correct bugs */
-   if (d->count == 0)
-      EXCopyAreaGC(d->above, WinGetXwin(d->win), d->gc1,
-                  0, WinGetH(VROOT) - FX_WAVE_GRABH,
-                  WinGetW(VROOT), FX_WAVE_DEPTH * 2,
-                  0, WinGetH(VROOT) - FX_WAVE_GRABH);
-
    /* Go through the bottom couple (FX_WAVE_WATERH) lines of the window */
    for (y = 0; y < FX_WAVE_WATERH; y++)
      {

-- 


Reply via email to