From b3a5effef2be30c21d5a5cd7e60c9134af4948eb Mon Sep 17 00:00:00 2001 From: Josef Gajdusek Date: Mon, 20 May 2019 23:47:05 +0200 Subject: Implement wlr-output-management-v1 --- include/sway/output.h | 4 ++++ include/sway/server.h | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'include/sway') diff --git a/include/sway/output.h b/include/sway/output.h index d4438c0e..3d430ea2 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -154,4 +154,8 @@ void scale_box(struct wlr_box *box, float scale); enum wlr_direction opposite_direction(enum wlr_direction d); +void handle_output_manager_apply(struct wl_listener *listener, void *data); + +void handle_output_manager_test(struct wl_listener *listener, void *data); + #endif diff --git a/include/sway/server.h b/include/sway/server.h index 39cf4f18..fd613bb6 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -67,6 +68,10 @@ struct sway_server { struct wlr_pointer_constraints_v1 *pointer_constraints; struct wl_listener pointer_constraint; + struct wlr_output_manager_v1 *output_manager_v1; + struct wl_listener output_manager_apply; + struct wl_listener output_manager_test; + size_t txn_timeout_ms; list_t *transactions; list_t *dirty_nodes; -- cgit v1.2.3