aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-20 20:53:13 +0100
committeremersion <contact@emersion.fr>2017-11-20 20:53:13 +0100
commit54f1135c057e76b1c05058592a6878a07a524b99 (patch)
tree2afd63b18c2e7cdf073dfcece8e1f2812c3bff90 /include/wlr
parentbc68f269605ddd681b3ab968bdf80a72f3618982 (diff)
Fix fullscreen in xdg-shell
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_surface.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h
index cea53109..c8e3761a 100644
--- a/include/wlr/types/wlr_surface.h
+++ b/include/wlr/types/wlr_surface.h
@@ -1,9 +1,10 @@
#ifndef WLR_TYPES_WLR_SURFACE_H
#define WLR_TYPES_WLR_SURFACE_H
-#include <wayland-server.h>
-#include <pixman.h>
#include <stdint.h>
#include <stdbool.h>
+#include <time.h>
+#include <pixman.h>
+#include <wayland-server.h>
#include <wlr/types/wlr_output.h>
struct wlr_frame_callback {
@@ -142,4 +143,7 @@ void wlr_surface_send_enter(struct wlr_surface *surface,
void wlr_surface_send_leave(struct wlr_surface *surface,
struct wlr_output *output);
+void wlr_surface_send_frame_done(struct wlr_surface *surface,
+ const struct timespec *when);
+
#endif