Skip to content

Conversation

@uuhan
Copy link

@uuhan uuhan commented Apr 1, 2025

This pr fixes the panic occurs when click the system tray in Windows 7.

I dont know if Windows 7 is still supported, but use the AttachThreadInput trick saves my Tauri app.

Referenced this thread: https://stackoverflow.com/questions/3772233/win32-setforegroundwindow-unreliable

Copy link
Member

@amrbashir amrbashir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use windows-version crate to only apply this hack on Windows 7?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants