commit | f9b873662baac2388a4ca78c967e53eb5d83d2a1 | [log] [tgz] |
---|---|---|
author | ocornut <omarcornut@gmail.com> | Fri Dec 04 11:48:17 2020 +0100 |
committer | ocornut <omarcornut@gmail.com> | Fri Dec 04 11:48:17 2020 +0100 |
tree | 60e374df4014d2a34be5c46d1d398db7ed55d4be | |
parent | 998d7303b1a3a0ae57b4599698b0c53e51be06cb [diff] |
Backends: Win32: Fixed setting of io.DisplaySize to invalid/uninitialized data when after hwnd has been closed. GetClientRect() fails on closed hwnd which left the rectangle uninitialized and copied to DisplaySize. Ensure it is zero + similar failsafe in io.WantSetMousePos path.