On Wed Jul 5 08:41:22 2023 +0000, Rémi Bernon wrote:
Fwiw I think disabling / enabling cursor clipping when creating a window is not great. I don't think it should be necessary and it seems brittle at best. Then I'd approve the check for a capture window when trying to enable fullscreen clipping alone. And if we want to help working around bogus WMs, like it seems to be here, maybe it would be better to change the fullscreen clipping option to either:
- Disable fullscreen clipping entirely if the option is not selected.
- Make it a three state option (on/off/auto), and keep the current
behavior as the "auto" setting.
Ok I'll send one with just the win32u change. I didn't even know there was a fullscreen clip option, guess I'll just use that. :-)