CuarzoSoftware / Louvre

C++ library for building Wayland compositors.
MIT License
506 stars 14 forks source link

Waybar doesn't work - Failed to register as toplevel manager #60

Closed milisarge closed 2 months ago

milisarge commented 2 months ago

When i tried to start waybar from terminal, i am getting "Failed to register as toplevel manager" error, can it be related with, https://github.com/Alexays/Waybar/issues/1016

Fox2Code commented 2 months ago

Required Wayland protocol: https://wayland.app/protocols/wlr-foreign-toplevel-management-unstable-v1

ehopperdietzel commented 2 months ago

When i tried to start waybar from terminal, i am getting "Failed to register as toplevel manager" error, can it be related with, https://github.com/Alexays/Waybar/issues/1016

I tested Waybar v0.10.2 and it works for me out of the box. Do you possibly have a plugin/addon that requires that protocol? @milisarge

Required Wayland protocol: https://wayland.app/protocols/wlr-foreign-toplevel-management-unstable-v1

Nice! That was off my radar and seems easy to implement. Maybe I can add it today. @Fox2Code

milisarge commented 2 months ago

yes, looked again and there was a wlr related aforementioned protocol in my config, i removed that then waybar worked.

ehopperdietzel commented 2 months ago

Can you tell me which config was that so I can test the protocol later?

milisarge commented 2 months ago

wlr/taskbar

ehopperdietzel commented 2 months ago

The wlr-foreign-toplevel-management-unstable-v1 protocol is now supported in v2.1.0.

milisarge commented 2 months ago

resim confirmed with waybar