compositor: find windows in direction on floating
This commit is contained in:
parent
c4e1a9b13b
commit
d8b7ded18c
5 changed files with 115 additions and 53 deletions
|
|
@ -242,6 +242,10 @@ bool isDirection(const std::string& arg) {
|
|||
return arg == "l" || arg == "r" || arg == "u" || arg == "d" || arg == "t" || arg == "b";
|
||||
}
|
||||
|
||||
bool isDirection(const char& arg) {
|
||||
return arg == 'l' || arg == 'r' || arg == 'u' || arg == 'd' || arg == 't' || arg == 'b';
|
||||
}
|
||||
|
||||
int getWorkspaceIDFromString(const std::string& in, std::string& outName) {
|
||||
int result = INT_MAX;
|
||||
if (in.starts_with("special")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue