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

张小白 created

Closes #32909

Release Notes:

- N/A

Change summary

crates/gpui/src/platform/windows/events.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/gpui/src/platform/windows/events.rs 🔗

@@ -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;
     }