mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 04:40:04 -04:00
fix: win32 taskbar_created deadlock
This commit is contained in:
@@ -2462,8 +2462,8 @@ unsafe fn public_window_callback_inner(
|
|||||||
});
|
});
|
||||||
result = ProcResult::Value(0);
|
result = ProcResult::Value(0);
|
||||||
} else if msg == TASKBAR_CREATED.get() {
|
} else if msg == TASKBAR_CREATED.get() {
|
||||||
let window_state = userdata.window_state_lock();
|
let skip_taskbar = userdata.window_state_lock().skip_taskbar;
|
||||||
unsafe { set_skip_taskbar(window, window_state.skip_taskbar) };
|
unsafe { set_skip_taskbar(window, skip_taskbar) };
|
||||||
result = ProcResult::DefWindowProc(wparam);
|
result = ProcResult::DefWindowProc(wparam);
|
||||||
} else {
|
} else {
|
||||||
result = ProcResult::DefWindowProc(wparam);
|
result = ProcResult::DefWindowProc(wparam);
|
||||||
|
|||||||
Reference in New Issue
Block a user