Safari_Al's patch which fixes inconsistent capitalization in some actions.
This commit is contained in:
parent
81cdff0693
commit
e9c1208ff4
4 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 },
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue