mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
main: we prefer xdg-output-manager version 2, but get by with 1
This commit is contained in:
parent
b0d5af51d0
commit
5340204cbc
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -238,7 +238,7 @@ handle_global(void *data, struct wl_registry *registry,
|
||||||
|
|
||||||
else if (strcmp(interface, zxdg_output_manager_v1_interface.name) == 0) {
|
else if (strcmp(interface, zxdg_output_manager_v1_interface.name) == 0) {
|
||||||
term->wl.xdg_output_manager = wl_registry_bind(
|
term->wl.xdg_output_manager = wl_registry_bind(
|
||||||
term->wl.registry, name, &zxdg_output_manager_v1_interface, 2);
|
term->wl.registry, name, &zxdg_output_manager_v1_interface, min(version, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (strcmp(interface, wl_output_interface.name) == 0) {
|
else if (strcmp(interface, wl_output_interface.name) == 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue