summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/mysql/main.cpp
diff options
context:
space:
mode:
authorWladimir Leuschner <wladimir.leuschner@qt.io>2025-07-04 11:14:50 +0200
committerWladimir Leuschner <wladimir.leuschner@qt.io>2025-09-17 20:17:06 +0200
commitee2450ccdfac80393b84e773d0d2e0cb6e084019 (patch)
treece3653683582660a27f8f15e4f8d72511e7dff06 /src/plugins/sqldrivers/mysql/main.cpp
parent70d572aba304ed369b3463453ff3a30ad5b5c030 (diff)
Windows: Return hittest region for CustomizeWindowHint|ExpandedClientAreaHint
When Qt::CustomizeWindowHint in combination with Qt::ExpandedClientAreaHint is set, we are not returning any hittest region for WM_NCHITTEST, resulting in ignoring mouse events. This patch adds another code path to handle WM_NCHITTEST in this case properly. A test whether a Widget was hit is performed with QWSI with the current coordinates and button state of the mouse. In case a widget was hit the event is consumed and NCHITTEST will return HTCLIENT. In case no widget was hit, a check is performed whether the mouse event happened in the titlebar area and if so, the respective hittest region for the titlebar area is returned. Fixes: QTBUG-137927 Pick-to: 6.10 6.9 Change-Id: I4531fec71eaaa20959a8015ea1babd6d36ee9341 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/main.cpp')
0 files changed, 0 insertions, 0 deletions