mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2025-10-29 11:48:42 +00:00
xtra-dispatchers: chase hyprland
This commit is contained in:
parent
81f6d14265
commit
e689220b17
@ -47,7 +47,7 @@ static SDispatchResult moveOrExec(std::string in) {
|
||||
}
|
||||
|
||||
static SDispatchResult throwUnfocused(std::string in) {
|
||||
const auto [id, name] = getWorkspaceIDNameFromString(in);
|
||||
const auto [id, name, isAutoID] = getWorkspaceIDNameFromString(in);
|
||||
|
||||
if (id == WORKSPACE_INVALID)
|
||||
return SDispatchResult{.success = false, .error = "Failed to find workspace"};
|
||||
@ -70,7 +70,7 @@ static SDispatchResult throwUnfocused(std::string in) {
|
||||
}
|
||||
|
||||
static SDispatchResult bringAllFrom(std::string in) {
|
||||
const auto [id, name] = getWorkspaceIDNameFromString(in);
|
||||
const auto [id, name, isAutoID] = getWorkspaceIDNameFromString(in);
|
||||
|
||||
if (id == WORKSPACE_INVALID)
|
||||
return SDispatchResult{.success = false, .error = "Failed to find workspace"};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user