Closed donnierussellii closed 6 years ago
This hiding of the window frame acts a bit weird on OSX, not sure this is a path we should go down either. Now it lets me resize the window, even when the mouse is supposed to be grabbed.
Also, I'd vote for keeping the window frame unless we added windowed borderless as a Preferences option that could be enabled.
Okay, I reverted back to turning off drag resize instead of getting rid of the frame itself.
I learned/realized that warping mouse in window creates a mouse motion event. When mouselooking we just want to warp the mouse to the center of the play area. Going through the mouse motion event caused feedback in some situations that made mouselook go crazy.
Mouse events are handled only if cursor is in play area and window has input focus. If not, show desktop mouse cursor. Captured mouse cursor stays out of black border regions. Commits finished.