diff options
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/output.h | 3 | ||||
-rw-r--r-- | include/sway/server.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 01c32e0b..9117f350 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -171,4 +171,7 @@ void handle_output_manager_apply(struct wl_listener *listener, void *data); void handle_output_manager_test(struct wl_listener *listener, void *data); +void handle_output_power_manager_set_mode(struct wl_listener *listener, + void *data); + #endif diff --git a/include/sway/server.h b/include/sway/server.h index 2e8e4633..65bd6429 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -9,6 +9,7 @@ #include <wlr/types/wlr_data_device.h> #include <wlr/types/wlr_layer_shell_v1.h> #include <wlr/types/wlr_output_management_v1.h> +#include <wlr/types/wlr_output_power_management_v1.h> #include <wlr/types/wlr_presentation_time.h> #include <wlr/types/wlr_relative_pointer_v1.h> #include <wlr/types/wlr_server_decoration.h> @@ -73,6 +74,9 @@ struct sway_server { struct wl_listener output_manager_apply; struct wl_listener output_manager_test; + struct wlr_output_power_manager_v1 *output_power_manager_v1; + struct wl_listener output_power_manager_set_mode; + size_t txn_timeout_ms; list_t *transactions; list_t *dirty_nodes; |