summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/src/toolbarwnd.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-05-09 16:46:02 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-05-09 16:46:02 +0300
commit8553c260ff9939c9d78bbaf2634bb26a20342a3a (patch)
tree450d54a10aa2f30a5aaee873da557324e418c074 /plugins/TopToolBar/src/toolbarwnd.cpp
parent41403799d2c11dd86142f03f7b562c6e02ff8d00 (diff)
end of clist common settings zoo in m_clist.h
Diffstat (limited to 'plugins/TopToolBar/src/toolbarwnd.cpp')
-rw-r--r--plugins/TopToolBar/src/toolbarwnd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TopToolBar/src/toolbarwnd.cpp b/plugins/TopToolBar/src/toolbarwnd.cpp
index 2d11410c4c..63aac5b375 100644
--- a/plugins/TopToolBar/src/toolbarwnd.cpp
+++ b/plugins/TopToolBar/src/toolbarwnd.cpp
@@ -162,7 +162,7 @@ LRESULT CALLBACK TopToolBarProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara
return 0;
case WM_LBUTTONDOWN:
- if (db_get_b(0, "CLUI", "ClientAreaDrag", 0)) {
+ if (Clist::bClientAreaDrag) {
POINT pt;
GetCursorPos(&pt);
return SendMessage(GetParent(hwnd), WM_SYSCOMMAND, SC_MOVE | HTCAPTION, MAKELPARAM(pt.x, pt.y));