mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-24 10:04:19 -05:00
protocols/cm: fix CColorManagementSurface m_imageDescription init (#12734)
This commit is contained in:
@@ -233,7 +233,8 @@ CColorManagementSurface::CColorManagementSurface(SP<CWpColorManagementSurfaceV1>
|
||||
if UNLIKELY (!good())
|
||||
return;
|
||||
|
||||
m_client = m_resource->client();
|
||||
m_client = m_resource->client();
|
||||
m_imageDescription = DEFAULT_IMAGE_DESCRIPTION;
|
||||
|
||||
m_resource->setDestroy([this](CWpColorManagementSurfaceV1* r) {
|
||||
LOGM(Log::TRACE, "Destroy wp cm surface {}", (uintptr_t)m_surface);
|
||||
|
||||
Reference in New Issue
Block a user