summaryrefslogtreecommitdiff
path: root/alf/alflayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alflayout.cpp')
-rw-r--r--alf/alflayout.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/alf/alflayout.cpp b/alf/alflayout.cpp
index 2dfe16d..5c1ad55 100644
--- a/alf/alflayout.cpp
+++ b/alf/alflayout.cpp
@@ -403,6 +403,7 @@ ALF_Layout_Apply(ALFLayout* layout, HWND window)
if (bgcolor == ALF_COLOR_TRANSPARENT) {
RECT oldR;
GetWindowRect(c->hwnd, &oldR);
+ MapWindowRect(NULL, window, &oldR);
if (oldR.left != r.left || oldR.top != r.top) {
if (c->flags & ALF_LAYOUT_SENDBGCHANGE) {