Safari_Al's patch which fixes inconsistent capitalization in some actions.

This commit is contained in:
Marius Nita 2002-08-24 09:38:56 +00:00
parent 81cdff0693
commit e9c1208ff4
4 changed files with 8 additions and 8 deletions

View file

@ -39,8 +39,8 @@ public:
raise, //done
lower, //done
close, //done
toggleshade, //done
toggleomnipresent, //done
toggleShade, //done
toggleOmnipresent, //done
moveWindowUp, //done
moveWindowDown, //done
moveWindowLeft, //done

View file

@ -29,8 +29,8 @@ Control-Mod1-Shift-x {
r raise;
l lower;
k close;
s toggleshade;
o toggleomnipresent;
s toggleShade;
o toggleOmnipresent;
1 sendToWorkspace 1;
2 sendToWorkspace 2;

View file

@ -68,8 +68,8 @@ void parser::setAction(string act)
{ "raise", Action::raise },
{ "lower", Action::lower },
{ "close", Action::close },
{ "toggleshade", Action::toggleshade },
{ "toggleomnipresent", Action::toggleomnipresent },
{ "toggleShade", Action::toggleShade },
{ "toggleOmnipresent", Action::toggleOmnipresent },
{ "movewindowup", Action::moveWindowUp },
{ "movewindowdown", Action::moveWindowDown },
{ "movewindowleft", Action::moveWindowLeft },

View file

@ -294,7 +294,7 @@ void screen::handleKeypress(const XEvent &e) {
window->sendTo(it->number());
return;
case Action::toggleomnipresent:
case Action::toggleOmnipresent:
if (window->desktop() == 0xffffffff)
window->sendTo(_active_desktop);
else
@ -329,7 +329,7 @@ void screen::handleKeypress(const XEvent &e) {
window->resizeRel(0, it->number());
return;
case Action::toggleshade:
case Action::toggleShade:
window->shade(! window->shaded());
return;