mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-21 18:25:58 +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();
|
||||
|
||||
if (!PWINDOW->m_sSpecialRenderData.decorate)
|
||||
if (!PWINDOW->m_sWindowData.decorate.valueOrDefault())
|
||||
return;
|
||||
|
||||
static std::vector<Hyprlang::INT* const*> PCOLORS;
|
||||
|
|
|
@ -389,7 +389,7 @@ void CHyprBar::draw(CMonitor* pMonitor, float a) {
|
|||
|
||||
const auto PWINDOW = m_pWindow.lock();
|
||||
|
||||
if (!PWINDOW->m_sSpecialRenderData.decorate)
|
||||
if (!PWINDOW->m_sWindowData.decorate.valueOrDefault())
|
||||
return;
|
||||
|
||||
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();
|
||||
|
||||
if (!PWINDOW->m_sSpecialRenderData.decorate)
|
||||
if (!PWINDOW->m_sWindowData.decorate.valueOrDefault())
|
||||
return;
|
||||
|
||||
static auto* const PBEZIERSTEP = (Hyprlang::FLOAT* const*)HyprlandAPI::getConfigValue(PHANDLE, "plugin:hyprtrails:bezier_step")->getDataStaticPtr();
|
||||
|
|
Loading…
Reference in a new issue