mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-12-25 16:09:48 +01:00
all: chase hyprland fixes (#238)
* Fix 60c5c63
* Also update to most recent commit
This commit is contained in:
parent
60c5c6330b
commit
c347d8ad9b
4 changed files with 5 additions and 5 deletions
|
@ -59,7 +59,7 @@ std::string CBordersPlusPlus::getDisplayName() {
|
|||
return "Borders++";
|
||||
}
|
||||
|
||||
void CBordersPlusPlus::draw(PHLMONITOR pMonitor, float a) {
|
||||
void CBordersPlusPlus::draw(PHLMONITOR pMonitor, const float &a) {
|
||||
if (!validMapped(m_pWindow))
|
||||
return;
|
||||
|
||||
|
|
|
@ -383,7 +383,7 @@ void CHyprBar::renderBarButtonsText(CBox* barBox, const float scale, const float
|
|||
}
|
||||
}
|
||||
|
||||
void CHyprBar::draw(PHLMONITOR pMonitor, float a) {
|
||||
void CHyprBar::draw(PHLMONITOR pMonitor, const float &a) {
|
||||
if (m_bHidden || !validMapped(m_pWindow))
|
||||
return;
|
||||
|
||||
|
|
|
@ -237,8 +237,8 @@ void COverview::redrawID(int id, bool forcelowres) {
|
|||
|
||||
if (image.fb.m_vSize != monbox.size()) {
|
||||
image.fb.release();
|
||||
image.fb.m_pStencilTex = nullptr;
|
||||
image.fb.alloc(monbox.w, monbox.h, pMonitor->output->state->state().drmFormat);
|
||||
image.fb.addStencil(nullptr);
|
||||
}
|
||||
|
||||
CRegion fakeDamage{0, 0, INT16_MAX, INT16_MAX};
|
||||
|
@ -400,7 +400,7 @@ void COverview::render() {
|
|||
texbox.scale(pMonitor->scale).translate(pos.value());
|
||||
texbox.round();
|
||||
CRegion damage{0, 0, INT16_MAX, INT16_MAX};
|
||||
g_pHyprOpenGL->renderTextureInternalWithDamage(images[x + y * SIDE_LENGTH].fb.m_cTex, &texbox, 1.0, &damage);
|
||||
g_pHyprOpenGL->renderTextureInternalWithDamage(images[x + y * SIDE_LENGTH].fb.getTexture(), &texbox, 1.0, &damage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ Vector2D vecForBezierT(const float& t, const std::vector<Vector2D>& verts) {
|
|||
return pts[0];
|
||||
}
|
||||
|
||||
void CTrail::draw(PHLMONITOR pMonitor, float a) {
|
||||
void CTrail::draw(PHLMONITOR pMonitor, const float &a) {
|
||||
if (!validMapped(m_pWindow))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue