void output::done() {
HMI_DEBUG("wm", "wl::output %s @ %p done", __func__, this->proxy.get());
- // Let's just disregard the flipped ones...
+ // Pivot and flipped
if (this->transform == WL_OUTPUT_TRANSFORM_90 ||
- this->transform == WL_OUTPUT_TRANSFORM_270) {
+ this->transform == WL_OUTPUT_TRANSFORM_270 ||
+ this->transform == WL_OUTPUT_TRANSFORM_FLIPPED_90 ||
+ this->transform == WL_OUTPUT_TRANSFORM_FLIPPED_270) {
std::swap(this->width, this->height);
}
}