url-mode: convert struct wl_url to use wayl_win_subsurface_new()

This commit is contained in:
Daniel Eklöf 2021-02-12 11:31:31 +01:00
parent bb4d9a5fd3
commit 9d362158e3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 8 additions and 46 deletions

View file

@ -2555,8 +2555,8 @@ render_urls(struct terminal *term)
const wchar_t *key = url->key;
const size_t entered_key_len = wcslen(term->url_keys);
struct wl_surface *surf = it->item.surf;
struct wl_subsurface *sub_surf = it->item.sub_surf;
struct wl_surface *surf = it->item.surf.surf;
struct wl_subsurface *sub_surf = it->item.surf.sub;
if (surf == NULL || sub_surf == NULL)
continue;