windows: Fix client area is treated as non-client area when window is fullscreen (#32916)

Closes #32909

Release Notes:

- N/A
This commit is contained in:
张小白
2025-06-18 02:19:36 +00:00
committed by GitHub
parent 9bdfd1e98a
commit 4da58188fb
+1 -1
View File
@@ -884,7 +884,7 @@ fn handle_hit_test_msg(
lparam: LPARAM,
state_ptr: Rc<WindowsWindowStatePtr>,
) -> Option<isize> {
if !state_ptr.is_movable {
if !state_ptr.is_movable || state_ptr.state.borrow().is_fullscreen() {
return None;
}