Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_output.cpp
Show First 20 Lines • Show All 598 Lines • ▼ Show 20 Line(s) | 598 | if (m_changeset->transformChanged()) { | |||
---|---|---|---|---|---|
599 | qCDebug(KWIN_DRM) << "Server setting transform: " << (int)(m_changeset->transform()); | 599 | qCDebug(KWIN_DRM) << "Server setting transform: " << (int)(m_changeset->transform()); | ||
600 | m_waylandOutputDevice->setTransform(m_changeset->transform()); | 600 | m_waylandOutputDevice->setTransform(m_changeset->transform()); | ||
601 | // FIXME: implement for wl_output | 601 | // FIXME: implement for wl_output | ||
602 | } | 602 | } | ||
603 | if (m_changeset->positionChanged()) { | 603 | if (m_changeset->positionChanged()) { | ||
604 | qCDebug(KWIN_DRM) << "Server setting position: " << m_changeset->position(); | 604 | qCDebug(KWIN_DRM) << "Server setting position: " << m_changeset->position(); | ||
605 | m_waylandOutput->setGlobalPosition(m_changeset->position()); | 605 | m_waylandOutput->setGlobalPosition(m_changeset->position()); | ||
606 | m_waylandOutputDevice->setGlobalPosition(m_changeset->position()); | 606 | m_waylandOutputDevice->setGlobalPosition(m_changeset->position()); | ||
607 | setGlobalPos(m_changeset->position()); | ||||
607 | // may just work already! | 608 | // may just work already! | ||
608 | } | 609 | } | ||
609 | if (m_changeset->scaleChanged()) { | 610 | if (m_changeset->scaleChanged()) { | ||
610 | qCDebug(KWIN_DRM) << "Setting scale:" << m_changeset->scale(); | 611 | qCDebug(KWIN_DRM) << "Setting scale:" << m_changeset->scale(); | ||
611 | m_waylandOutputDevice->setScale(m_changeset->scale()); | 612 | m_waylandOutputDevice->setScale(m_changeset->scale()); | ||
612 | // FIXME: implement for wl_output | 613 | // FIXME: implement for wl_output | ||
613 | } | 614 | } | ||
614 | return true; | 615 | return true; | ||
615 | } | 616 | } | ||
616 | 617 | | |||
617 | 618 | | |||
618 | } | 619 | } |