Open stshine opened 2 years ago
Does setting GDK_BACKEND=x11
(when running dlauncher, not dlauncher-toggle) make it work? This just makes it run under xwayland, and might not be a good solution but it is mostly temporary until I can find a way to implement it correctly.
I guess it will work, but I don't have x server installed. Whatever, no hurry :)
if you want a suggestion, using the wayland wlr-layer-shell
protocol is a good idea for making launchers/bars. Here's a gtk library that does the bridging: gtk-layer-shell
(rust).
The only problem is Mutter does not support it, but one can use it via the X11 backend instead.
https://github.com/pentamassiv/gtk-layer-shell-gir/tree/main/gtk-layer-shell Seems to be a better binding.
On wayland compositor no window get displayed when the program runs. I think gtk-layer-shell can be used for this.