Skip to content

Commit

Permalink
add command to focus first leaf
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Jun 20, 2016
1 parent 99f02b3 commit fcbebd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kwm/interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@ KwmWindowCommand(std::vector<std::string> &Tokens)
ShiftWindowFocus(1);
else if(Tokens[2] == "curr")
FocusWindowBelowCursor();
else if(Tokens[2] == "first")
FocusFirstLeafNode(AXLibCursorDisplay());
else
FocusWindowByID(ConvertStringToUint(Tokens[2]));
}
Expand Down

0 comments on commit fcbebd6

Please sign in to comment.