Skip to content

Commit

Permalink
output: fix setting transform (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaideiaDilemma authored Jan 3, 2025
1 parent e01afaf commit c3d9595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ COutput::COutput(SP<CCWlOutput> 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 : "");
});
Expand Down

0 comments on commit c3d9595

Please sign in to comment.