aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-27 15:01:03 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-27 15:01:44 +0000
commit9e6c28f5b6b0be6788d91bf3233323362cac732a (patch)
tree2679ba4860ce5479cb45c8d0b69b64967575781e /wayland.h
parentwayland: implement wayl_destroy() (diff)
wayland: implement wayl_win_destroy()
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 81d622fe..cbd0392c 100644
--- a/wayland.h
+++ b/wayland.h
@@ -40,6 +40,8 @@ struct wl_window {
struct wl_surface *search_surface;
struct wl_subsurface *search_sub_surface;
+ struct wl_callback *frame_callback;
+
tll(const struct monitor *) on_outputs; /* Outputs we're mapped on */
};
@@ -79,3 +81,5 @@ struct wayland {
/* TODO: return allocated pointer */
void wayl_init(struct wayland *wayl);
void wayl_destroy(struct wayland *wayl);
+
+void wayl_win_destroy(struct wl_window *win);