aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-29 11:13:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-29 11:13:58 +0000
commitc917a74f487941fa16548261680484cb78e63189 (patch)
tree2b3fb5dad7e59b48adad57301f8821c49aa0de69 /wayland.h
parentwayland: store pointer to window instance in all surfaces (diff)
wayland: remove all usages of wayl_terminal_from_surface()
Use the 'user data' pointer from the wayland surface instead.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/wayland.h b/wayland.h
index 5ffbab2d..a18b40a3 100644
--- a/wayland.h
+++ b/wayland.h
@@ -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);