1
0
Fork 0
mirror of https://github.com/Cloudef/bemenu synced 2024-05-09 17:16:20 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Jari Vetoniemi fab01c9906 Bump version to 0.6.20 2024-03-07 17:51:45 +09:00
Julian Orth 6bcffe408c wayland: bind to zwlr_layer_shell_v1 version 3
zwlr_layer_shell_v1_destroy is not available in version 2 of the
interface.
2024-03-07 17:41:43 +09:00
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0.6.19
0.6.20

View File

@ -582,7 +582,7 @@ registry_handle_global(void *data, struct wl_registry *registry, uint32_t id, co
if (strcmp(interface, "wl_compositor") == 0) {
wayland->compositor = wl_registry_bind(registry, id, &wl_compositor_interface, 4);
} else if (strcmp(interface, zwlr_layer_shell_v1_interface.name) == 0) {
wayland->layer_shell = wl_registry_bind(registry, id, &zwlr_layer_shell_v1_interface, 2);
wayland->layer_shell = wl_registry_bind(registry, id, &zwlr_layer_shell_v1_interface, 3);
} else if (strcmp(interface, "wl_seat") == 0) {
wayland->seat = wl_registry_bind(registry, id, &wl_seat_interface, 7);
wl_seat_add_listener(wayland->seat, &seat_listener, &wayland->input);