Move the decoration window back to the padding position after each resize

Behavior seems to have changed in Qt 5. Without doing the move the deco
has a wrong position and all mouse interaction is broken after the first
resize.

And with this change Oxygen windeco in compositing is fully functional!
icc-effect-5.14.5
Martin Gräßlin 2013-09-13 13:56:09 +02:00
parent 210e1e970b
commit e553d2869d
1 changed files with 1 additions and 0 deletions

View File

@ -647,6 +647,7 @@ void Client::resizeDecoration(const QSize& s)
} else {
triggerDecorationRepaint();
}
Xcb::moveWindow(decoration->widget()->winId(), -padding_left, -padding_top);
updateInputWindow();
}