Commit 65f86bac authored by Thomas Lübking's avatar Thomas Lübking

fix off-by-1 on multiscreen toppanel strutting

parent a0a97688
......@@ -3011,7 +3011,7 @@ void Client::handleMoveResize(int x, int y, int x_root, int y_root)
foreach (const QRect &r, strut.rects()) {
if (r.top() == 0 && r.width() > r.height() && // "top panel"
r.intersects(moveResizeGeom) && moveResizeGeom.top() < r.bottom()) {
newTitleTop = r.bottom();
newTitleTop = r.bottom() + 1;
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment