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:
parent
210e1e970b
commit
e553d2869d
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue