diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-25 18:57:19 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-25 18:57:19 +0000 |
| commit | 2855d06c6e99bff2ce32e1d94b09afed99b78735 (patch) | |
| tree | 617cbf4bfb3acc4a313bffe5e50118df306879c1 | |
| parent | wayland: synchronize the CSD surfaces to the main surface (diff) | |
wayland: mark the whole search surface as opaque
| -rw-r--r-- | wayland.c | 5 |
1 files changed, 5 insertions, 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; |
