mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-10-30 14:01:40 +00:00
parent
b7b13623ba
commit
045c3fbd85
@ -117,7 +117,7 @@ void CSubsurface::recheckDamageForSubsurfaces() {
|
|||||||
|
|
||||||
void CSubsurface::onCommit() {
|
void CSubsurface::onCommit() {
|
||||||
// no damaging if it's not visible
|
// no damaging if it's not visible
|
||||||
if (!g_pHyprRenderer->shouldRenderWindow(m_pWindowParent)) {
|
if (m_pWindowParent && !g_pHyprRenderer->shouldRenderWindow(m_pWindowParent)) {
|
||||||
m_vLastSize = Vector2D{m_sWLSurface.wlr()->current.width, m_sWLSurface.wlr()->current.height};
|
m_vLastSize = Vector2D{m_sWLSurface.wlr()->current.width, m_sWLSurface.wlr()->current.height};
|
||||||
|
|
||||||
static auto PLOGDAMAGE = CConfigValue<Hyprlang::INT>("debug:log_damage");
|
static auto PLOGDAMAGE = CConfigValue<Hyprlang::INT>("debug:log_damage");
|
||||||
|
Loading…
Reference in New Issue
Block a user