From 05fa2be09642ff135eb32a4528103adf89cd71e7 Mon Sep 17 00:00:00 2001
From: Mark Tiefenbruck <mark@fluxbox.org>
Date: Wed, 7 May 2008 11:35:28 -0700
Subject: adjust coordinates for window border in synthetic ConfigureNotify
 events

---
 src/Window.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Window.cc b/src/Window.cc
index 133a84f..c16d366 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -3818,8 +3818,8 @@ void FluxboxWindow::moveResizeClient(WinClient &client, int x, int y,
     client.moveResize(x, y,
                       frame().clientArea().width(),
                       frame().clientArea().height());
-    client.sendConfigureNotify(frame().x() + frame().clientArea().x(),
-                      frame().y() + frame().clientArea().y(),
+    client.sendConfigureNotify(frame().x() + frame().clientArea().x() + frame().window().borderWidth(),
+                      frame().y() + frame().clientArea().y() + frame().window().borderWidth(),
                       frame().clientArea().width(),
                       frame().clientArea().height());
 }
-- 
cgit v0.11.2