Increase the readability of wUnshadeWindow() and wShadeWindow() a little bit
commita1f35d7f5b8002bf0d0f141c42621d0376c67fbd
authorCarlos R. Mafra <crmafra@gmail.com>
Sat, 29 Aug 2009 18:02:04 +0000 (29 20:02 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 29 Aug 2009 22:58:18 +0000 (30 00:58 +0200)
treeb2429d2dc137670569a79638cdad2ddef907b41e
parent34be9d7816354489579cf9ab6203ee9e946b4b0b
Increase the readability of wUnshadeWindow() and wShadeWindow() a little bit

Instead of open coding the animation routines in the function bodies,
put them in a helper function called shade_animate(wwin, what), whose
second argument can be SHADE or UNSHADE.
src/actions.c
src/actions.h