As pointed by gcc, this constant is not used anywhere in the code. It seems to have been prepared for a scroll animation when the switchpanel would be too big to fit the screen, but the code looks like to never have been activated, and was cleaned away in commit 6d08aa22d824d6abe5edb4c4892bbf9eaec3175b
If the feature were to be re-added, it would be better to use something proportional to the menu scroll speed parameter that can be configured by user anyway. Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> --- src/switchpanel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/switchpanel.c b/src/switchpanel.c index f048ac5..b3832f1 100644 --- a/src/switchpanel.c +++ b/src/switchpanel.c @@ -68,7 +68,6 @@ struct SwitchPanel { #define ICON_TILE_SIZE 64 #define LABEL_HEIGHT 25 #define SCREEN_BORDER_SPACING 2*20 -#define SCROLL_STEPS (ICON_TILE_SIZE/2) #define ICON_SELECTED (1<<1) #define ICON_DIM (1<<2) -- 2.1.3 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.