Chase hyprland

This commit is contained in:
Zakk
2024-04-27 21:57:01 -04:00
parent 4a84423ae7
commit 7a93f44f2f
3 changed files with 11 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ void addEasyMotionKeybinds()
}
void addLabelToWindow(CWindow *window, SMotionActionDesc *actionDesc, std::string &label)
void addLabelToWindow(PHLWINDOW window, SMotionActionDesc *actionDesc, std::string &label)
{
std::unique_ptr<CHyprEasyLabel> motionlabel = std::make_unique<CHyprEasyLabel>(window, actionDesc);
motionlabel.get()->m_szLabel = label;
@@ -171,7 +171,7 @@ void easymotionDispatch(std::string args)
if (w->isHidden() || !w->m_bIsMapped || w->m_bFadingOut)
continue;
std::string lstr = actionDesc.motionKeys.substr(key_idx++, 1);
addLabelToWindow(w.get(), &actionDesc, lstr);
addLabelToWindow(w, &actionDesc, lstr);
}
}
}