From f722fb1155cb3d198c450a68d7db82a0bf6318bf Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Thu, 11 Jun 2020 14:37:45 +0200 Subject: concerted effort to reduce unneccessary redraws on transparent backgrounds --- alf/alfnotebook.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'alf/alfnotebook.cpp') diff --git a/alf/alfnotebook.cpp b/alf/alfnotebook.cpp index e264b6e..ca93d90 100644 --- a/alf/alfnotebook.cpp +++ b/alf/alfnotebook.cpp @@ -1161,13 +1161,6 @@ ALF_Notebook_ContainerWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa EndDeferWindowPos(hdwp); - if (priv->selectedPage && priv->hTheme - && priv->tabPaneBgColor == ALF_COLOR_TRANSPARENT - && ((oldPanelRect.bottom - oldPanelRect.top) != (rcPanel.bottom - rcPanel.top))) { - // only needed when height changes, since bg is tiled horizontally - ALF_InvalidateBackground(priv->selectedPage->hwndPanel); - } - if (priv->hTheme) { // themed background does contain gradients on XP // FIXME! do we always need to invalidate everyting? -- cgit v1.2.3