@@ -175,7 +175,7 @@ void Windowmenu::itemSelected(int button, int index) {
BasemenuItem *item = find(index);
switch (item->function()) {
- case BScreen::WindowShade:
+ case BScreen::WINDOWSHADE:
hide();
window->shade();
@@ -183,42 +183,42 @@ if (window->hasTab())
window->getTab()->shade();
break;
- case BScreen::WindowIconify:
+ case BScreen::WINDOWICONIFY:
hide();
window->iconify();
break;
- case BScreen::WindowMaximize:
+ case BScreen::WINDOWMAXIMIZE:
hide();
window->maximize((unsigned int) button);
break;
- case BScreen::WindowClose:
+ case BScreen::WINDOWCLOSE:
hide();
window->close();
break;
- case BScreen::WindowRaise:
+ case BScreen::WINDOWRAISE:
hide();
screen->getWorkspace(window->getWorkspaceNumber())->raiseWindow(window);
break;
- case BScreen::WindowLower:
+ case BScreen::WINDOWLOWER:
hide();
screen->getWorkspace(window->getWorkspaceNumber())->lowerWindow(window);
break;
- case BScreen::WindowStick:
+ case BScreen::WINDOWSTICK:
hide();
window->stick();
break;
- case BScreen::WindowKill:
+ case BScreen::WINDOWKILL:
hide();
XKillClient(screen->getBaseDisplay()->getXDisplay(),
window->getClientWindow());
break;
- case BScreen::WindowTab:
+ case BScreen::WINDOWTAB:
hide();
window->setTab(!window->hasTab());
break;