coding style

This commit is contained in:
Thomas Lübking 2011-08-28 20:25:58 +02:00
parent 9d4a7c3d19
commit e930a50f8a

View file

@ -586,9 +586,8 @@ static QVector<QRect> damageRects;
void Toplevel::damageNotifyEvent(XDamageNotifyEvent* e) void Toplevel::damageNotifyEvent(XDamageNotifyEvent* e)
{ {
if (damageRatio == 1.0) // we know that we're completely damaged, no need to tell us again if (damageRatio == 1.0) { // we know that we're completely damaged, no need to tell us again
{ // drop events while (XPending(display())) { // drop events
while (XPending(display())) {
EventUnion e2; EventUnion e2;
if (XPeekEvent(display(), &e2.e) && e2.e.type == Extensions::damageNotifyEvent() && if (XPeekEvent(display(), &e2.e) && e2.e.type == Extensions::damageNotifyEvent() &&
e2.e.xany.window == frameId()) { e2.e.xany.window == frameId()) {