mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-25 09:05:47 -04:00
search: use a sub-surface to render the search buffer
This commit is contained in:
parent
2a31c2fbbc
commit
66912cbfb5
3 changed files with 141 additions and 14 deletions
5
main.c
5
main.c
|
|
@ -197,6 +197,11 @@ handle_global(void *data, struct wl_registry *registry,
|
|||
term->wl.registry, name, &wl_compositor_interface, 4);
|
||||
}
|
||||
|
||||
else if (strcmp(interface, wl_subcompositor_interface.name) == 0) {
|
||||
term->wl.sub_compositor = wl_registry_bind(
|
||||
term->wl.registry, name, &wl_subcompositor_interface, 1);
|
||||
}
|
||||
|
||||
else if (strcmp(interface, wl_shm_interface.name) == 0) {
|
||||
term->wl.shm = wl_registry_bind(
|
||||
term->wl.registry, name, &wl_shm_interface, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue