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 raise, //done
lower, //done lower, //done
close, //done close, //done
toggleshade, //done toggleShade, //done
toggleomnipresent, //done toggleOmnipresent, //done
moveWindowUp, //done moveWindowUp, //done
moveWindowDown, //done moveWindowDown, //done
moveWindowLeft, //done moveWindowLeft, //done

View file

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

View file

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

View file

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