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!
This commit is contained in:
Martin Gräßlin 2013-09-13 13:56:09 +02:00
parent 210e1e970b
commit e553d2869d

View file

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