aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-02 11:46:28 +0200
committeremersion <contact@emersion.fr>2018-10-04 22:00:23 +0200
commitabd3e995ab446b5487f4d2ff16d9e2c3f1baade1 (patch)
tree1223b80afb2d04698c5193d8b85b20f49dadbdaa /include/rootston
parentba63d77ec19b84c9bf9be24cc4d91f3bfa856dba (diff)
rootston: send presentation events
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/desktop.h2
-rw-r--r--include/rootston/output.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h
index 90851a17..8cee170f 100644
--- a/include/rootston/desktop.h
+++ b/include/rootston/desktop.h
@@ -13,6 +13,7 @@
#include <wlr/types/wlr_list.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_output.h>
+#include <wlr/types/wlr_presentation_time.h>
#include <wlr/types/wlr_primary_selection.h>
#include <wlr/types/wlr_screencopy_v1.h>
#include <wlr/types/wlr_screenshooter.h>
@@ -57,6 +58,7 @@ struct roots_desktop {
struct wlr_screencopy_manager_v1 *screencopy;
struct wlr_tablet_manager_v2 *tablet_v2;
struct wlr_pointer_constraints_v1 *pointer_constraints;
+ struct wlr_presentation *presentation;
struct wl_listener new_output;
struct wl_listener layout_change;
diff --git a/include/rootston/output.h b/include/rootston/output.h
index 69bc5126..3f07ab6f 100644
--- a/include/rootston/output.h
+++ b/include/rootston/output.h
@@ -24,6 +24,7 @@ struct roots_output {
struct wl_listener destroy;
struct wl_listener mode;
struct wl_listener transform;
+ struct wl_listener present;
struct wl_listener damage_frame;
struct wl_listener damage_destroy;
};