summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-10-24 20:42:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-10-24 20:42:13 +0300
commit7bdeac6481ce3a3d787965b837e344381008280f (patch)
tree34a5a9a6436934c7a4f51fe9225096649bfd3181 /plugins
parentc061810d81a2beef32614b91312ddc0d7a7b0df8 (diff)
fixes #2104 (TabSRMM: RTL enabled for whole window)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/container.cpp4
1 files changed, 2 insertions, 2 deletions
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) {