Skip to content

Commit 77d5d20

Browse files
authored
Windows: Delayed Message Boxes Fix. (#1769)
1 parent 165e51d commit 77d5d20

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Unreleased
22

3+
- On Windows, fix bug causing message boxes to appear delayed.
34
- On Android, calling `WindowEvent::Focused` now works properly instead of always returning false.
45
- On Windows, fix alt-tab behaviour by removing borderless fullscreen "always on top" flag.
56
- On Windows, fix bug preventing windows with transparency enabled from having fully-opaque regions.

src/platform_impl/windows/event_loop.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,8 @@ unsafe extern "system" fn thread_event_target_callback<T: 'static>(
19731973
}
19741974
}
19751975

1976-
0
1976+
// Default WM_PAINT behaviour. This makes sure modals and popups are shown immediatly when opening them.
1977+
commctrl::DefSubclassProc(window, msg, wparam, lparam)
19771978
}
19781979

19791980
winuser::WM_INPUT_DEVICE_CHANGE => {

0 commit comments

Comments
 (0)