1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

wmaker: Removed unused argument to function 'wMenuScroll'

The event that triggered the function call is not used by the function,
so the parameter can be removed.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-11-01 16:06:53 +01:00
committed by Carlos R. Mafra
parent 93767d399d
commit d862310c81
3 changed files with 3 additions and 3 deletions

View File

@@ -1778,7 +1778,7 @@ static void handleMotionNotify(XEvent * event)
menu = wMenuUnderPointer(scr);
if (menu != NULL)
wMenuScroll(menu, event);
wMenuScroll(menu);
}
}
}

View File

@@ -1551,7 +1551,7 @@ static void leaving(_delay * dl)
wfree(dl);
}
void wMenuScroll(WMenu * menu, XEvent * event)
void wMenuScroll(WMenu *menu)
{
WMenu *smenu;
WMenu *omenu = parentMenu(menu);

View File

@@ -128,7 +128,7 @@ void wMenuUnmap(WMenu *menu);
void wMenuSetEnabled(WMenu *menu, int index, int enable);
void wMenuMove(WMenu *menu, int x, int y, int submenus);
void wMenuEntryRemoveCascade(WMenu *menu, WMenuEntry *entry);
void wMenuScroll(WMenu *menu, XEvent *event);
void wMenuScroll(WMenu *menu);
WMenu *wMenuUnderPointer(WScreen *screen);
void wMenuSaveState(WScreen *scr);
void wMenuRestoreState(WScreen *scr);