Fix several crashes on Windows by heavily simplifying the event loop code (#1496)

This commit is contained in:
Osspial 2020-05-04 15:14:13 -04:00 committed by GitHub
parent 26775fa0b6
commit b4c6cdf9a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 695 additions and 581 deletions

View file

@ -80,7 +80,9 @@ bitflags! {
/// window's state to match our stored state. This controls whether to accept those changes.
const MARKER_RETAIN_STATE_ON_SIZE = 1 << 10;
const MINIMIZED = 1 << 11;
const MARKER_IN_SIZE_MOVE = 1 << 11;
const MINIMIZED = 1 << 12;
const FULLSCREEN_AND_MASK = !(
WindowFlags::DECORATIONS.bits |