From 31b35bfe05740beac6481e6ff8d365f2a9cebbb3 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Tue, 21 Apr 2020 21:14:27 +0200 Subject: embarrassing notebook content flicker fixes --- alf/alflayout.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'alf/alflayout.cpp') 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) { -- cgit v1.2.3