#Creating taskbar for MacOS
8 messages · Page 1 of 1 (latest)
A builder for a webview window managed by Tauri.
Oh, you're talking about interaction triggers focus. Yeah, I'm not sure about that one. I think that's the OSes job to help you switch between things. If you clicked a button and another app stayed focused, that would be weird. Or another example would be: if you have keyboard shortcuts in your app, how would the OS know when to trigger yours if it never focused?
Also, clicking on the taskbar on Windows does cause the focus to shift to the taskbar, the active window loses focus, so not sure why you would want to prevent focus from shifting anyway
Well the main thing I was trying to fix is that I have to click once to focus before I can click anything in the custom bar.
In windows you can just click onto an app icon straight away, in tauri right now I have to click once on the window to be able to hover over anything
Oh, I believe on MacOS the window has an option to specify whether it accepts the first click or not, I don't remember what the setting is though
^ accepts_first_mouse
i've set this to true but it doesn't seem like it's changing the behaviour