Skip to content

Commit

Permalink
Update src/platform_impl/windows/event_loop.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Amr Bashir <[email protected]>
  • Loading branch information
Legend-Master and amrbashir authored Sep 18, 2024
1 parent 2c6de75 commit c18000f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform_impl/windows/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ lazy_static! {
/// WPARAM is 1 for dark mode and 0 for light mode.
/// and LPARAM is unused.
pub static ref SET_THEME_MSG_ID: u32 = unsafe {
RegisterWindowMessageA(s!("Tao::SetTheme"))
RegisterWindowMessageA(s!("Tao::EmitTheme"))
};
/// When the taskbar is created, it registers a message with the "TaskbarCreated" string and then broadcasts this message to all top-level windows
/// When the application receives this message, it should assume that any taskbar icons it added have been removed and add them again.
Expand Down

0 comments on commit c18000f

Please sign in to comment.