removed codebody

svn path=/trunk/kdebase/kwin/; revision=380838
This commit is contained in:
Thomas Lübking 2005-01-21 16:17:37 +00:00
parent 2e82e1fc66
commit bb92b37e08

View file

@ -355,7 +355,6 @@ run_fades (Display *dpy)
int now = get_time_in_milliseconds(); int now = get_time_in_milliseconds();
fade *f, *next; fade *f, *next;
int steps; int steps;
Bool last;
#if 0 #if 0
printf ("run fades\n"); printf ("run fades\n");
@ -365,7 +364,6 @@ run_fades (Display *dpy)
steps = 1 + (now - fade_time) / fade_delta; steps = 1 + (now - fade_time) / fade_delta;
for (next = fades; f = next; ) for (next = fades; f = next; )
{ {
last = False;
win *w = f->w; win *w = f->w;
next = f->next; next = f->next;
f->cur += f->step * steps; f->cur += f->step * steps;
@ -382,7 +380,6 @@ run_fades (Display *dpy)
if (f->cur >= f->finish) if (f->cur >= f->finish)
{ {
w->opacity = f->finish*OPAQUE; w->opacity = f->finish*OPAQUE;
last = True;
dequeue_fade (dpy, f); dequeue_fade (dpy, f);
} }
} }
@ -391,7 +388,6 @@ run_fades (Display *dpy)
if (f->cur <= f->finish) if (f->cur <= f->finish)
{ {
w->opacity = f->finish*OPAQUE; w->opacity = f->finish*OPAQUE;
last = True;
dequeue_fade (dpy, f); dequeue_fade (dpy, f);
} }
} }