From 7bdeac6481ce3a3d787965b837e344381008280f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 24 Oct 2019 20:42:13 +0300 Subject: fixes #2104 (TabSRMM: RTL enabled for whole window) --- plugins/TabSRMM/src/container.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 4c155819f7..1851652b61 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -92,8 +92,8 @@ void TContainerData::Configure() BOOL fTransAllowed = !CSkin::m_skinEnabled || IsWinVerVistaPlus(); - DWORD exold = GetWindowLong(m_hwnd, GWL_EXSTYLE); - DWORD ex = (m_dwFlags & CNT_TRANSPARENCY && (!CSkin::m_skinEnabled || fTransAllowed)) ? (ex | WS_EX_LAYERED) : (ex & ~WS_EX_LAYERED); + DWORD ex = GetWindowLong(m_hwnd, GWL_EXSTYLE); + ex = (m_dwFlags & CNT_TRANSPARENCY && (!CSkin::m_skinEnabled || fTransAllowed)) ? (ex | WS_EX_LAYERED) : (ex & ~WS_EX_LAYERED); SetWindowLong(m_hwnd, GWL_EXSTYLE, ex); if (m_dwFlags & CNT_TRANSPARENCY && fTransAllowed) { -- cgit v1.2.3