Browsers-software / browsers

Open the right browser at the right time
https://browsers.software
Apache License 2.0
111 stars 11 forks source link

Change the WindowLevel to AppWindow #97

Closed tommoyer closed 1 year ago

tommoyer commented 1 year ago

This changes the WindowLevel to AppWindow so that it will appear on top of the application that invoked it. For non-Snap installed applications WindowLevel::Utility worked, but for Snap installed applications, AppWindow is the required level. This was tested with several snap-installed applications on both Wayland and X11 on Ubuntu 22.04

liias commented 1 year ago

Hey @tommoyer, thank you so much for contributing!

Unfortunately, I don't have time to test it this week, but I hope if it works for you, you can already use your own compiled version.

IIRC, I changed it to utility for mac or windows, so I might need to do some trickery in Browsers druid fork instead. Will see.

liias commented 1 year ago

Fixes #87