summaryrefslogtreecommitdiff
path: root/hw/xwayland/xwayland-present.h
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2023-03-09 18:44:25 +0100
committerMichel Dänzer <michel@daenzer.net>2023-03-27 08:19:31 +0000
commit4d1cd7cdc22013ed8de17d3218b9790b7027e1fe (patch)
tree804e7b341bba3d9bea68feb38e2ad8c2cda03cee /hw/xwayland/xwayland-present.h
parentfc625fe172d9f6a149a594b5214364bedf680239 (diff)
downloadxserver-4d1cd7cdc22013ed8de17d3218b9790b7027e1fe.tar.gz
xwayland: Refactor xwl_present_for_each_frame_callback helper
Preparation for following changes, no functional change intended.
Diffstat (limited to 'hw/xwayland/xwayland-present.h')
-rw-r--r--hw/xwayland/xwayland-present.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xwayland/xwayland-present.h b/hw/xwayland/xwayland-present.h
index ab7f04a3b..620e6c5ca 100644
--- a/hw/xwayland/xwayland-present.h
+++ b/hw/xwayland/xwayland-present.h
@@ -61,6 +61,8 @@ struct xwl_present_event {
PixmapPtr pixmap;
};
+void xwl_present_for_each_frame_callback(struct xwl_window *xwl_window,
+ void iter_func(struct xwl_present_window *));
void xwl_present_reset_timer(struct xwl_present_window *xwl_present_window);
void xwl_present_frame_callback(struct xwl_present_window *xwl_present_window);
Bool xwl_present_init(ScreenPtr screen);