From 65f86baceb3f836dcdcf65b9dc1d550b916117a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Fri, 14 Feb 2014 00:14:53 +0100 Subject: [PATCH] fix off-by-1 on multiscreen toppanel strutting --- geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry.cpp b/geometry.cpp index 2e3f26fd80..63906aaa49 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -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; } }