mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-10 04:27:45 -05:00
wayland: mark the whole search surface as opaque
This commit is contained in:
parent
f05e0ad0ae
commit
2855d06c6e
1 changed files with 5 additions and 0 deletions
|
|
@ -956,6 +956,11 @@ wayl_win_init(struct terminal *term)
|
|||
wayl->sub_compositor, win->search_surface, win->surface);
|
||||
wl_subsurface_set_desync(win->search_sub_surface);
|
||||
|
||||
struct wl_region *region = wl_compositor_create_region(term->wl->compositor);
|
||||
wl_region_add(region, 0, 0, INT32_MAX, INT32_MAX);
|
||||
wl_surface_set_opaque_region(win->search_surface, region);
|
||||
wl_region_destroy(region);
|
||||
|
||||
wl_surface_commit(win->surface);
|
||||
return win;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue