mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-24 19:25:59 +01:00
plugins: chase Hyprland
This commit is contained in:
parent
98cb18c6fc
commit
928164d6d2
3 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,7 @@ void CBordersPlusPlus::draw(CMonitor* pMonitor, float a) {
|
||||||
|
|
||||||
const auto PWINDOW = m_pWindow.lock();
|
const auto PWINDOW = m_pWindow.lock();
|
||||||
|
|
||||||
if (!PWINDOW->m_sSpecialRenderData.decorate)
|
if (!PWINDOW->m_sWindowData.decorate.valueOrDefault())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
static std::vector<Hyprlang::INT* const*> PCOLORS;
|
static std::vector<Hyprlang::INT* const*> PCOLORS;
|
||||||
|
@ -140,4 +140,4 @@ void CBordersPlusPlus::updateWindow(PHLWINDOW pWindow) {
|
||||||
void CBordersPlusPlus::damageEntire() {
|
void CBordersPlusPlus::damageEntire() {
|
||||||
CBox dm = m_bLastRelativeBox.copy().translate(m_vLastWindowPos).expand(2);
|
CBox dm = m_bLastRelativeBox.copy().translate(m_vLastWindowPos).expand(2);
|
||||||
g_pHyprRenderer->damageBox(&dm);
|
g_pHyprRenderer->damageBox(&dm);
|
||||||
}
|
}
|
||||||
|
|
|
@ -389,7 +389,7 @@ void CHyprBar::draw(CMonitor* pMonitor, float a) {
|
||||||
|
|
||||||
const auto PWINDOW = m_pWindow.lock();
|
const auto PWINDOW = m_pWindow.lock();
|
||||||
|
|
||||||
if (!PWINDOW->m_sSpecialRenderData.decorate)
|
if (!PWINDOW->m_sWindowData.decorate.valueOrDefault())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
static auto* const PCOLOR = (Hyprlang::INT* const*)HyprlandAPI::getConfigValue(PHANDLE, "plugin:hyprbars:bar_color")->getDataStaticPtr();
|
static auto* const PCOLOR = (Hyprlang::INT* const*)HyprlandAPI::getConfigValue(PHANDLE, "plugin:hyprbars:bar_color")->getDataStaticPtr();
|
||||||
|
|
|
@ -84,7 +84,7 @@ void CTrail::draw(CMonitor* pMonitor, float a) {
|
||||||
|
|
||||||
const auto PWINDOW = m_pWindow.lock();
|
const auto PWINDOW = m_pWindow.lock();
|
||||||
|
|
||||||
if (!PWINDOW->m_sSpecialRenderData.decorate)
|
if (!PWINDOW->m_sWindowData.decorate.valueOrDefault())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
static auto* const PBEZIERSTEP = (Hyprlang::FLOAT* const*)HyprlandAPI::getConfigValue(PHANDLE, "plugin:hyprtrails:bezier_step")->getDataStaticPtr();
|
static auto* const PBEZIERSTEP = (Hyprlang::FLOAT* const*)HyprlandAPI::getConfigValue(PHANDLE, "plugin:hyprtrails:bezier_step")->getDataStaticPtr();
|
||||||
|
|
Loading…
Reference in a new issue