mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Remove unused function raiseMenus()
GCC warns: rootmenu.c:350: warning: 'raiseMenus' defined but not used
This commit is contained in:
@@ -347,19 +347,6 @@ static char *getLocalizedMenuFile(char *menu)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void raiseMenus(WMenu * menu)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
|
|
||||||
if (menu->flags.mapped) {
|
|
||||||
wRaiseFrame(menu->frame->core);
|
|
||||||
}
|
|
||||||
for (i = 0; i < menu->cascade_no; i++) {
|
|
||||||
if (menu->cascades[i])
|
|
||||||
raiseMenus(menu->cascades[i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Bool wRootMenuPerformShortcut(XEvent * event)
|
Bool wRootMenuPerformShortcut(XEvent * event)
|
||||||
{
|
{
|
||||||
WScreen *scr = wScreenForRootWindow(event->xkey.root);
|
WScreen *scr = wScreenForRootWindow(event->xkey.root);
|
||||||
|
|||||||
Reference in New Issue
Block a user