summaryrefslogtreecommitdiffstats
path: root/ui/twin/pbt-scr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/twin/pbt-scr.h')
-rw-r--r--ui/twin/pbt-scr.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/twin/pbt-scr.h b/ui/twin/pbt-scr.h
index c075aad..1198a59 100644
--- a/ui/twin/pbt-scr.h
+++ b/ui/twin/pbt-scr.h
@@ -18,6 +18,8 @@
#if !defined(_PBT_SCR_H)
#define _PBT_SCR_H
+#include <waiter/waiter.h>
+
#include <libtwin/twin.h>
#include <libtwin/twin_jpeg.h>
#include <libtwin/twin_linux_mouse.h>
@@ -137,7 +139,8 @@ struct pbt_scr {
twin_pixmap_t *cursor;
};
-struct pbt_scr *pbt_scr_init(void *talloc_ctx, enum pbt_twin_backend backend,
+struct pbt_scr *pbt_scr_init(void *talloc_ctx, struct waitset *waitset,
+ enum pbt_twin_backend backend,
unsigned int width, unsigned int height,
const char *filename_background,
twin_bool_t (*scr_event_cb)(twin_screen_t *tscreen,
@@ -171,4 +174,4 @@ void pbt_window_redraw(twin_window_t *twindow);
_p->height)
-#endif \ No newline at end of file
+#endif
OpenPOWER on IntegriCloud