Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/xrender/scene_xrender.cpp
Show First 20 Lines • Show All 1223 Lines • ▼ Show 20 Line(s) | |||||
1224 | { | 1224 | { | ||
1225 | QRegion scheduled = getScheduled(); | 1225 | QRegion scheduled = getScheduled(); | ||
1226 | if (scheduled.isEmpty()) { | 1226 | if (scheduled.isEmpty()) { | ||
1227 | return; | 1227 | return; | ||
1228 | } | 1228 | } | ||
1229 | if (areImageSizesDirty()) { | 1229 | if (areImageSizesDirty()) { | ||
1230 | resizePixmaps(); | 1230 | resizePixmaps(); | ||
1231 | resetImageSizesDirty(); | 1231 | resetImageSizesDirty(); | ||
1232 | scheduled = client()->client()->decorationRect(); | | |||
1233 | } | 1232 | } | ||
1234 | 1233 | | |||
1235 | const QRect top(QPoint(0, 0), m_sizes[int(DecorationPart::Top)]); | 1234 | const QRect top(QPoint(0, 0), m_sizes[int(DecorationPart::Top)]); | ||
1236 | const QRect left(QPoint(0, top.height()), m_sizes[int(DecorationPart::Left)]); | 1235 | const QRect left(QPoint(0, top.height()), m_sizes[int(DecorationPart::Left)]); | ||
1237 | const QRect right(QPoint(top.width() - m_sizes[int(DecorationPart::Right)].width(), top.height()), m_sizes[int(DecorationPart::Right)]); | 1236 | const QRect right(QPoint(top.width() - m_sizes[int(DecorationPart::Right)].width(), top.height()), m_sizes[int(DecorationPart::Right)]); | ||
1238 | const QRect bottom(QPoint(0, left.y() + left.height()), m_sizes[int(DecorationPart::Bottom)]); | 1237 | const QRect bottom(QPoint(0, left.y() + left.height()), m_sizes[int(DecorationPart::Bottom)]); | ||
1239 | 1238 | | |||
1240 | xcb_connection_t *c = connection(); | 1239 | xcb_connection_t *c = connection(); | ||
▲ Show 20 Lines • Show All 116 Lines • Show Last 20 Lines |