diff --git a/src/core/Output.cpp b/src/core/Output.cpp index 18148708..82986bda 100644 --- a/src/core/Output.cpp +++ b/src/core/Output.cpp @@ -35,8 +35,8 @@ COutput::COutput(SP output_, uint32_t name_) : name(name_), output(o }); output->setGeometry( - [this](CCWlOutput* r, int32_t x, int32_t y, int32_t physical_width, int32_t physical_height, int32_t subpixel, const char* make, const char* model, int32_t transform) { - transform = (wl_output_transform)transform; + [this](CCWlOutput* r, int32_t x, int32_t y, int32_t physical_width, int32_t physical_height, int32_t subpixel, const char* make, const char* model, int32_t transform_) { + transform = (wl_output_transform)transform_; Debug::log(LOG, "output {} make {} model {}", name, make ? make : "", model ? model : ""); });