mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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:
committed by
Carlos R. Mafra
parent
93767d399d
commit
d862310c81
@@ -1778,7 +1778,7 @@ static void handleMotionNotify(XEvent * event)
|
||||
|
||||
menu = wMenuUnderPointer(scr);
|
||||
if (menu != NULL)
|
||||
wMenuScroll(menu, event);
|
||||
wMenuScroll(menu);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user