MadcowOG / dwl-bar

dwl-like bar for dwl
GNU General Public License v3.0
30 stars 10 forks source link

wl_registry@2: error 0: invalid version for global zwlr_layer_shell_v1 (18): have 3, wanted 4 #13

Closed OH016 closed 10 months ago

Charadon commented 9 months ago

I'm getting this error too, how'd you fix it?

bogdan-the-great commented 9 months ago

Me too.

Charadon commented 9 months ago

Me too.

I actually figured it out a few days ago. Basically find the line in dwl.c: layer_shell = wlr_layer_shell_v1_create(dpy, 3);

and change the 3 to a 4.

bogdan-the-great commented 9 months ago

Me too.

I actually figured it out a few days ago. Basically find the line in dwl.c: layer_shell = wlr_layer_shell_v1_create(dpy, 3);

and change the 3 to a 4.

Wow, thanks! Is it something wrong with dwl, so we need to open a new issue?

Charadon commented 9 months ago

Me too.

I actually figured it out a few days ago. Basically find the line in dwl.c: layer_shell = wlr_layer_shell_v1_create(dpy, 3); and change the 3 to a 4.

Wow, thanks! Is it something wrong with dwl, so we need to open a new issue?

Well, they bumped it down to 3 recently from what I could tell, so i'm sure they had their reasons. Since I don't know anything about Wayland, I have no idea what the consequences of this fix could be, but it works fine for me so far.