tauri
tauri copied to clipboard
[feat] Webview Window Focusable Property
Describe the problem
There isn't the ability to create a window that is not focusable, like a onscreen keyboard. Electron has a BaseWindow property that can be set of focusable which then causes the window never to gain focus.
Describe the solution you'd like
This would be a property that is set on the WebviewWindow which will define if the window can take focus or not. The window should still be interactable with the user.
Alternatives considered
I have attempted to create the window and change the window style with WinApi but have not been successful in changing the styles. As I don't always know where the focus has come from I cannot always just give it back with a event when the focus is gained in the window.
Additional context
No response
Are there any solutions or alternatives for this already?
i need this feat
On Windows, this can be achieved by setting the window extended style with the flag WS_EX_NOACTIVATE. I don´t know how to achieve this on Mac and Linux though.