no layer repaints for the window geometry labels
insufficient since there can be windows/content on top of the moved window and the labels are painted on top of the scene BUG: 318390 FIXED-IN: 4.11 REVIEW: 111861
This commit is contained in:
parent
37279504cb
commit
18f8493dee
1 changed files with 2 additions and 4 deletions
|
@ -145,7 +145,7 @@ void WindowGeometry::slotWindowStepUserMovedResized(EffectWindow *w, const QRect
|
|||
{
|
||||
if (iAmActivated && iAmActive && w == myResizeWindow) {
|
||||
if (myExtraDirtyArea.isValid())
|
||||
w->addLayerRepaint(myExtraDirtyArea);
|
||||
effects->addRepaint(myExtraDirtyArea);
|
||||
|
||||
myExtraDirtyArea = QRect();
|
||||
|
||||
|
@ -197,11 +197,9 @@ void WindowGeometry::slotWindowStepUserMovedResized(EffectWindow *w, const QRect
|
|||
myExtraDirtyArea |= myMeasure[1]->geometry();
|
||||
myExtraDirtyArea |= myMeasure[2]->geometry();
|
||||
myExtraDirtyArea.adjust(-6,-6,6,6);
|
||||
if (w->expandedGeometry().contains(myExtraDirtyArea))
|
||||
myExtraDirtyArea = QRect();
|
||||
|
||||
if (myExtraDirtyArea.isValid())
|
||||
w->addLayerRepaint(myExtraDirtyArea);
|
||||
effects->addRepaint(myExtraDirtyArea);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue