coding style
This commit is contained in:
parent
9d4a7c3d19
commit
e930a50f8a
1 changed files with 2 additions and 3 deletions
|
@ -586,9 +586,8 @@ static QVector<QRect> damageRects;
|
|||
|
||||
void Toplevel::damageNotifyEvent(XDamageNotifyEvent* e)
|
||||
{
|
||||
if (damageRatio == 1.0) // we know that we're completely damaged, no need to tell us again
|
||||
{ // drop events
|
||||
while (XPending(display())) {
|
||||
if (damageRatio == 1.0) { // we know that we're completely damaged, no need to tell us again
|
||||
while (XPending(display())) { // drop events
|
||||
EventUnion e2;
|
||||
if (XPeekEvent(display(), &e2.e) && e2.e.type == Extensions::damageNotifyEvent() &&
|
||||
e2.e.xany.window == frameId()) {
|
||||
|
|
Loading…
Reference in a new issue