Changeset View
Changeset View
Standalone View
Standalone View
xdgshellclient.cpp
Show First 20 Lines • Show All 1773 Lines • ▼ Show 20 Line(s) | |||||
1774 | 1774 | | |||
1775 | void XdgShellClient::doResizeSync() | 1775 | void XdgShellClient::doResizeSync() | ||
1776 | { | 1776 | { | ||
1777 | requestGeometry(moveResizeGeometry()); | 1777 | requestGeometry(moveResizeGeometry()); | ||
1778 | } | 1778 | } | ||
1779 | 1779 | | |||
1780 | QMatrix4x4 XdgShellClient::inputTransformation() const | 1780 | QMatrix4x4 XdgShellClient::inputTransformation() const | ||
1781 | { | 1781 | { | ||
1782 | QMatrix4x4 m = Toplevel::inputTransformation(); | 1782 | QMatrix4x4 matrix; | ||
1783 | m.translate(-borderLeft(), -borderTop()); | 1783 | matrix.translate(-m_bufferGeometry.x(), -m_bufferGeometry.y()); | ||
1784 | return m; | 1784 | return matrix; | ||
1785 | } | 1785 | } | ||
1786 | 1786 | | |||
1787 | void XdgShellClient::installServerSideDecoration(KWayland::Server::ServerSideDecorationInterface *deco) | 1787 | void XdgShellClient::installServerSideDecoration(KWayland::Server::ServerSideDecorationInterface *deco) | ||
1788 | { | 1788 | { | ||
1789 | if (m_serverDecoration == deco) { | 1789 | if (m_serverDecoration == deco) { | ||
1790 | return; | 1790 | return; | ||
1791 | } | 1791 | } | ||
1792 | m_serverDecoration = deco; | 1792 | m_serverDecoration = deco; | ||
▲ Show 20 Lines • Show All 180 Lines • Show Last 20 Lines |