fix: add windows to target_os of TaoWindowEvent::Focused (fix #9755) - #12014
fix: add windows to target_os of TaoWindowEvent::Focused (fix #9755)#12014kanatapple wants to merge 2 commits into
Conversation
Package Changes Through 70a5cf7There are 8 changes which include @tauri-apps/api with minor, tauri-bundler with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
|
Came here because of #11659 (comment) (cc @xuchaoqian). Unfortunetely i can't merge this yet (sorry for the useless commit). First if you have the unstable flag enabled your PR will print true and false on focus toggle unless you only click on the titlebar instead of the webview itself. This may be better than the current behavior of no event at all, but sadly it slightly breaks the Focused event if you don't have the unstable feature flag enabled, then it will emit the events twice. |
|
@FabianLars |
|
the complete solution is a bit more complicated, see #13222 |
closes #9755
Fixed an issue where focus events would not fire when unstable feature was enabled in Windows.