wayland: remove all usages of wayl_terminal_from_surface()

Use the 'user data' pointer from the wayland surface instead.
This commit is contained in:
Daniel Eklöf 2020-02-29 12:13:58 +01:00
parent 43c0551806
commit c917a74f48
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 6 additions and 19 deletions

View file

@ -205,8 +205,5 @@ void wayl_destroy(struct wayland *wayl);
void wayl_flush(struct wayland *wayl);
void wayl_roundtrip(struct wayland *wayl);
struct terminal *wayl_terminal_from_surface(
struct wayland *wayl, struct wl_surface *surface);
struct wl_window *wayl_win_init(struct terminal *term);
void wayl_win_destroy(struct wl_window *win);